code: def parse(d):
      
      res = {}
      for k, v in iteritems(d):
          if isinstance(v, string_types) and DATETIME_ISO_FORMAT.match(v):
              v = dateutil.parser.parse(v)
          res[k] = v
      return res
docs: Convert iso formatted timestamps found as values in the dict d to datetime objects.
  
      :return: A shallow copy of d with converted timestamps.