def champion_dictionary(obj):
    """Converts champion.json to a dictionary that is useful to us."""
    champions = {}
    for champion in obj["data"]:
        name = champion.lower()
        champions[int(obj["data"][champion]["key"])] = name
    return champions