def bq_to_rows(rows):
    """Reformat BigQuery's output to regular pnguin LOD data

    Reformat BigQuery's output format so we can put it into a DataFrame

    Args:
        rows (dict): A nested list of key-value tuples that need to be converted into a list of dicts

    Returns:
        list: A list of dictionaries based on the input x

    """

    def _reformat(x):
        pairs = x.items()
        row = {}
        for pair in pairs:
            key, value = pair
            row[key] = value
        return row

    return [_reformat(x) for x in rows]