code: def serialized(self):
          
          serialized = {}
          for k, v in six.iteritems(self):
              serialized[k] = self._serialize(k, v, self._fields)
          return serialized
docs: Returns a serialized representation of this task.