def _to_dict(resource_path, filesystem_path, distribution_name,
    distribution, type):
    """Convert a tuple of values to a more plugin friendly dictionary.

    - `resource_path` is the path to file within resource (distribution)
    - `filesystem_path` is path to file on local filesystem
    - `distribution` is the pkg_resources distribution object
    - `distribution_name` is the pkg_resources distribution name
    - `type` is a string indicating the resource type, `file` for a filesystem file and `dir` for a directory
    """
    return locals()
