def prepare_path_for_serialization(path):
    """
    Return the data from a list of PathItems ready for serialization to json.
    """
    return [(str(path_item.usage_key), path_item.display_name) for path_item in path]