code: def _request_process_json(self, response):
          
          data = []
          try:
              if self._api_branch == 'bulk':
                  response_data = self._request_bulk(response)
              else:
                  response_data = response.json()
  
              if self._request_entity is None:
                  data = response_data
                  status = 'Success'
              elif self._api_branch == 'bulk':
                  data, status = self._request_process_json_bulk(response_data)
              elif response_data.get('data') is None:
                  data, status = self._request_process_json_status(response_data)
              elif response_data.get('status') == 'Success':
                  data, status = self._request_process_json_standard(response_data)
  
                  # setup pagination
                  if self._result_count is None:
                      self._result_count = response_data.get('data', {}).get('resultCount')
              else:
                  self.tcex.log.error('Failed Request: {}'.format(response.text))
                  status = 'Failure'
          except KeyError as e:
              # TODO: Remove try/except block
              status = 'Failure'
              msg = u'Error: Invalid key {}. [{}] '.format(e, self.request_entity)
              self.tcex.log.error(msg)
          except ValueError as e:
              # TODO: Remove try/except block
              status = 'Failure'
              msg = u'Error: ({})'.format(e)
              self.tcex.log.error(msg)
  
          return data, status
docs: Handle response data of type JSON
  
          Return:
              (string): The data from the download
              (string): The status of the download