import json


def read_file_json(filepath):
    """
    Retrieves JSON format data.

    Parameters
    ----------
    filepath: pathlib.Path
        Path to where the data file is temporarily downloaded

    Returns
    ----------
    dict:
        Data in dict format
    """

    with open(filepath, "r") as in_file:
        data_json = json.load(in_file)

    return data_json