import json


def get_config(config_path):
    """ Open a Tiler config and return it as a dictonary """

    with open(config_path) as config_json:
            config_dict = json.load(config_json)
            return config_dict