def extract_faction_info(data):
    """Get ID, name, tag, rank_name, rank_division of faction, returns dictionary"""
    basic_faction_info = {
        "ID": str(data["ID"]),
        "name": data["name"],
        "tag": data["tag"],
        "rank_name": data["rank"]["name"],
        "rank_division": str(data["rank"]["division"]),
    }

    return basic_faction_info