import json


def read_config(config_path):
    """Reads config

    :param config_path: path to configuration file
    :returns: dict with configuration data
    """
    with open(config_path, "r") as fo:
        config = json.loads(fo.read())

    return config