def serialize_pyro_object_to_dict(obj):
    return {'__class__': '{:s}.{:s}'.format(obj.__module__, obj.__class__.__name__), 'state': obj.__getstate__()}
def serialize_pyro_object_to_dict(obj):
    return {'__class__': '{:s}.{:s}'.format(obj.__module__, obj.__class__.__name__), 'state': obj.__getstate__()}