def METHOD_NAME(path_file) -> dict:
    """Function the read a json file and return the data as a dictionary
    or only the keys if ```return_keys``` is True.
    Args:
        path_file (str): Path to the json file.
    """
    with open(path_file, encoding="utf-8") as file:
        json_data = json.load(file)
    return json_data