code: def json(self):
          
          if self.search_results is None:
              return None
  
          result = []
          for row in self.search_results['rows']:
              obj = {}
              for index in range(0, len(self.search_results['fields'])):
                  obj[self.search_results['fields'][index]] = row[index]
              result.append(obj)
  
          return result
docs: Returns the search results as a list of JSON objects.