code: def get(self, timeout=None):
          
          result = super().get(timeout)
          if result.state != 'SUCCESS':
              raise ResultError(result.data, result.code)
          if result.level != 20:
              raise ResultError('not a json response: %d' % result.level, 406)
  
          return json.loads(result.data)
docs: Get response as json, will fail if the job doesn't return a valid json response
  
          :param timeout: client side timeout in seconds
          :return: int