for (HttpMessageConverter<?> httpMessageConverter : converters) {
if (httpMessageConverter instanceof MappingJackson2HttpMessageConverter) {
final MappingJackson2HttpMessageConverter converter = (MappingJackson2HttpMessageConverter) httpMessageConverter;
final ObjectMapper objectMapper = converter.getObjectMapper();
objectMapper.configure(SerializationFeature.WRITE_DATES_AS_TIMESTAMPS, false);
objectMapper.setDateFormat(new ISO8601DateFormatWithMilliSeconds());
objectMapper.addMixInAnnotations(JobExecution.class, JobExecutionJacksonMixIn.class);
objectMapper.addMixInAnnotations(JobParameters.class, JobParametersJacksonMixIn.class);
objectMapper.addMixInAnnotations(JobParameter.class, JobParameterJacksonMixIn.class);
objectMapper.addMixInAnnotations(JobInstance.class, JobInstanceJacksonMixIn.class);