Make getJsonFactory() public, create it on demand