import json


def load_config(config_path):
    """
    Reads a .json config file and returns as a dict
    :return: config (dict)
    """
    with open(config_path) as f:
        config = json.load(f)
    return config