removed the redundant instantiation of jackson ObjectMapper, and retrieve it from JsonFactory if available; removed jsonParser.setCodec() and jsonGenerator.setCodec() calls since the codec (objectmapper) is already assigned during constructor.