docs: @Restricted(NoExternalUse.class)
      public static String loadJSON(URL src) throws IOException {
          URLConnection con = ProxyConfiguration.open(src);
          if (con instanceof HttpURLConnection) {
              // prevent problems from misbehaving plugins disabling redirects by default
              ((HttpURLConnection) con).setInstanceFollowRedirects(true);
          }
          try (InputStream is = con.getInputStream()) {
              String jsonp = IOUtils.toString(is, "UTF-8");
              int start = jsonp.indexOf('{');
              int end = jsonp.lastIndexOf('}');
              if (start >= 0 && end > start) {
                  return jsonp.substring(start, end + 1);
              } else {
                  throw new IOException("Could not find JSON in " + src);
              }
          }
      }