def extract_fields(gh_json, fields):
    """
    extract_fields Extract field from GH API data

    Extract fields from GH API data and standardize name of keys

    Parameters
    ----------
    gh_json : json
        JSON content from Github
    fields : dict
        A list of fields to extract and the name we want to use as standard.
    """
    data = list()
    for entry in gh_json:
        cell = dict()
        for field in fields:
            cell[fields[field]] = entry[field]
        data.append(cell)
    return data