Depreciated setReg... method an removing boolean check. the SwaggerJacksonModule must always be registered.