def polygon_list_to_dict(polygon):
    """
    Returns a dictionary with the list of points of a polygon.

    Parameters
    ----------
    polygon : `list`
        A list with the XYZ coordinates of the vertices of a polygon.

    Returns
    -------
    polygon_dict : `dict`
        A dictionary of with the points of a polygon.
    """
    return {'points': polygon}