@classmethod
def serialize(cls, entity, value):
    """Serialize a value for this attribute that is suitable for storage.

        This will be called by the blob when serializing itself, override it
        to perform any necessary conversion or sanitation.

        :param entity: The entity this attribute is on
        :param value: The value to serialize
        :returns: The serialized value

        """
    return value
