def creator_to_person(creator):
    """
    Parse the creator block in datacite into a Person
    :param creator: block in datacite format
    :return: Person
    """
    name = Name()
    if "creatorName" in creator:
        name = parse_name_string(creator["creatorName"])
    if "familyName" in creator:
        name.family = creator["familyName"]
    if "givenName" in creator:
        name.given = creator["givenName"]

    person = Person(name=name, tags=creator.get("affiliations"))
    return person
Parse the creator block in datacite into a Person
    :param creator: block in datacite format
    :return: Person