def METHOD_NAME(user_expertises: List[UserExpertise]) -> dict:
    return {
        "user_expertise": [
            user_expertise_to_json(user_expertise) for user_expertise in user_expertises
        ]
    }