docs: private InputStream debugInputStream(InputStream in) throws IOException {
          if (logger.isLoggable(Level.FINEST)) {
              final byte[] buffer = new byte[1024];
              final ByteArrayOutputStream baos = new ByteArrayOutputStream();
              int len;
              String line;
  
              logger.finest("[START] Dumping the InputStream that will be passed to JSON.parse()");
              while ((len = in.read(buffer)) > -1) {
                  baos.write(buffer, 0, len);
              }
              baos.flush();
  
              ByteArrayInputStream dumpIn = new ByteArrayInputStream(baos.toByteArray());
              BufferedReader br = new BufferedReader(new InputStreamReader(dumpIn));
              while ((line = br.readLine()) != null) {
                  logger.finest(line);
              }
              logger.finest("[END] Dumping the InputStream that will be passed to JSON.parse()");
  
              return new ByteArrayInputStream(baos.toByteArray());
          } else {
              return in;
  
          }
      }