docs: protected static JsonInput loadJsonFromResourceOrFile(String resource) {
      try {
        return new Json().newInput(readFileOrResource(resource));
      } catch (RuntimeException e) {
        throw new GridConfigurationException("Unable to read input", e);
      }
    }