code: def parse_response(fields, records):
          
          data = [i['values']['data'] for i in records]
          return [
              {fields[idx]: row for idx, row in enumerate(d)}
              for d in data
          ]
docs: Parse an API response into usable objects.
  
          Args:
              fields (list[str]): List of strings indicating the fields that
                  are represented in the records, in the order presented in
                  the records.::
  
                  [
                      'number1',
                      'number2',
                      'number3',
                      'first_name',
                      'last_name',
                      'company',
                      'street',
                      'city',
                      'state',
                      'zip',
                  ]
  
              records (list[dict]): A really crappy data structure representing
                  records as returned by Five9::
  
                      [
                          {
                              'values': {
                                  'data': [
                                      '8881234567',
                                      None,
                                      None,
                                      'Dave',
                                      'Lasley',
                                      'LasLabs Inc',
                                      None,
                                      'Las Vegas',
                                      'NV',
                                      '89123',
                                  ]
                              }
                          }
                      ]
  
          Returns:
              list[dict]: List of parsed records.