import json


def get_repos_config(repos_json="conf/repos.json"):
    """
    Read json-formatted list of Globus search indexes from disk
    :param repos_json: Filename of config file
    :return: configparser-style config file
    """

    configdict = {}
    with open(repos_json, 'r') as jsonfile:
        configdict = json.load(jsonfile)

    return configdict