ObjectMapper mapper = locateMapper(type, mediaType);
mapper.configure(SerializationFeature.INDENT_OUTPUT, true); // this creates a 'configured' mapper
mapper.setSerializationInclusion(Include.NON_NULL);
mapper.configure(SerializationFeature.WRITE_DATES_AS_TIMESTAMPS, false);
mapper.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false);
<BUG>mapper.addMixIn(RuleDefinitionTable.class, RuleDefinitionMixin.class);</BUG>
mapper.addMixIn(Dashboard.class, DashboardMixin.class);
mapper.addMixIn(ExternalServerTable.class, ExternalServerMixin.class);
mapper.addMixIn(Firmware.class, FirmwareMixin.class);
mapper.addMixIn(ForwardPayload.class, ForwardPayloadMixin.class);
<BUG>mapper.addMixIn(GatewayTable.class, GatewayMixin.class);
mapper.addMixIn(Node.class, NodeMixin.class);</BUG>
mapper.addMixIn(OperationTable.class, OperationMixin.class);

ObjectMapper mapper = locateMapper(type, mediaType);
mapper.configure(SerializationFeature.INDENT_OUTPUT, true); // this creates a 'configured' mapper
mapper.setSerializationInclusion(Include.NON_NULL);
mapper.configure(SerializationFeature.WRITE_DATES_AS_TIMESTAMPS, false);
mapper.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false);
mapper.addMixIn(Dashboard.class, DashboardMixin.class);
mapper.addMixIn(ExternalServerTable.class, ExternalServerMixin.class);
mapper.addMixIn(Firmware.class, FirmwareMixin.class);
mapper.addMixIn(ForwardPayload.class, ForwardPayloadMixin.class);
mapper.addMixIn(GatewayTable.class, GatewayMixin.class);
mapper.addMixIn(McScript.class, McScriptMixin.class);
mapper.addMixIn(Node.class, NodeMixin.class);
mapper.addMixIn(OperationTable.class, OperationMixin.class);
