code: def transform(self, data):
          
          out = {}
          for key, val in data.items():
              if key in self._transform_map:
                  target = self._transform_map[key]
                  key, val = target(key, val) if type(target) == types.FunctionType else (key, target)
  
              out[key] = val
  
  
          return out
docs: :param data:
          :type data: dict
          :return:
          :rtype: dict