code: def json(self, ondemand=False):
          
          self._request_entity = 'indicator'
          self._request_uri = '{}/{}'.format(self._api_uri, 'json')
          self._stream = True
          if ondemand:
              self._request.add_payload('runNow', True)
docs: Update request URI to return JSON data.
  
          For onDemand bulk generation to work it must first be enabled in the
          ThreatConnect platform under System settings.
  
          Args:
              ondemand (boolean): Enable on demand bulk generation.