def payload_to_list(alias_payload):
    """
    Unboxes a JSON payload object expected by the server into
    a list of alias names.
    """
    return [record["value"] for record in alias_payload["aliases"]]