def METHOD_NAME(fname):
    with open(fname) as param_fp:
        raw_params = json.load(param_fp)
    params = {}
    for table_key, table_entries in raw_params.items():
        if table_key.startswith("CONFIG_DB__"):
            # convert CONFIG_DB__* entries keys into tuple if needed
            new_table_entries = {}
            for entry_key, entry_value in table_entries.items():
                if '|' in entry_key:
                    new_key = tuple(entry_key.split('|'))
                else:
                    new_key = entry_key
                new_table_entries[new_key] = entry_value
            params[table_key] = new_table_entries
        else:
            params[table_key] = table_entries
    return params