refactoring jacksonparser