Update to use JsonLoader.loadLibrary.