docs: private static Object readJsonObject(InputStream stream, Type type) throws IOException {
  		BufferedReader reader = null;
  		Json json = Classes.loadService(Json.class);
  		try {
  			reader = Files.createBufferedReader(stream);
  			return json.parse(reader, type);
  		} finally {
  			// do not use Files.close because we want to throw IOException is reader close fails
  			if (reader != null) {
  				reader.close();
  			}
  		}
  	}