def METHOD_NAME(self, obj):
    assigned_to = None
    if obj.assigned_to_extra_info is not None:
        assigned_to = User(**obj.assigned_to_extra_info)
    return UserBasicInfoSerializer(assigned_to).data