@classmethod
def class_to_dict(cls, obj):
    if isinstance(obj, uuid.UUID):
        return str(obj)
    return super(MarshalSerializer, cls).class_to_dict(obj)
@classmethod
def class_to_dict(cls, obj):
    if isinstance(obj, uuid.UUID):
        return str(obj)
    return super(MarshalSerializer, cls).class_to_dict(obj)