Spring Boot ignore ObjectMapper module To make it work the @Configuration class should extend WebMvcAutoConfiguration