import json


def read_json_file(config_file):
    """
    Returns the content of a json file as dictionary.
    """
    with open(str(config_file)) as file:
        data = json.load(file)
    return data