def METHOD_NAME(gh_data):
    """Serializes github contributor data into RDM author."""
    login = gh_data["login"]
    name = gh_data.get("name", login)
    company = gh_data.get("company", "")
    human_name = HumanName(name)
    given_name = human_name.first
    family_name = human_name.surnames
    rdm_contributor = {
        "person_or_org": {
            "type": "personal",
            "given_name": given_name,
            "family_name": family_name,
        },
        "affiliations": [{"name": company}],
    }
    return rdm_contributor