def to_hash
      @data.inject({}) do |ac,(k,v)|
        ac.merge! k => ((v.kind_of? self.class) ? v.to_hash : v)
      end
    end
def to_hash
      @data.inject({}) do |ac,(k,v)|
        ac.merge! k => ((v.kind_of? self.class) ? v.to_hash : v)
      end
    end
creates a hash from a MMETools::Config object.