Refactoring: should not try to modify settings of JsonFactory on per-call basis