code: def WriteSerialized(cls, attribute_container):
      
      json_dict = cls.WriteSerializedDict(attribute_container)
      return json.dumps(json_dict)
docs: Writes an attribute container to serialized form.
  
      Args:
        attribute_container (AttributeContainer): attribute container.
  
      Returns:
        str: A JSON string containing the serialized form.