docs: def serialize(self, value, environment=None):
          """Serialze a value into a transportable and interchangeable format.
  
          The default assumption is that the value is JSON e.g. string or number.
          Some encoders also support datetime by default.
  
          Serialization should not be validated, since the developer app would be
          bounced, since the mistake comes from there - use unittests for this!
  
          """
          value = self._resolve_value(value, environment)
  
          value = self._serialize(value, environment)
  
          return value