docs: static protected JsonNode getQueryResultJSON(String queryId,
                                                 SFSession session)
    throws SFException, SnowflakeSQLException
    {
      String getResultPath = String.format(SF_PATH_QUERY_RESULT, queryId);
      StmtInput stmtInput = new StmtInput()
          .setServerUrl(session.getServerUrl())
          .setSessionToken(session.getSessionToken())
          .setNetworkTimeoutInMillis(session.getNetworkTimeoutInMilli())
          .setMediaType(SF_MEDIA_TYPE)
          .setServiceName(session.getServiceName());
  
      String resultAsString = getQueryResult(getResultPath, stmtInput);
  
      StmtOutput stmtOutput = pollForOutput(resultAsString, stmtInput, null);
      return stmtOutput.getResult();
    }