@Override
public Object readFrom(Class<Object> type, Type genericType, Annotation[] annotations, MediaType mediaType,
MultivaluedMap<String, String> httpHeaders, InputStream entityStream) throws IOException {
ObjectMapper mapper = locateMapper(type, mediaType);
mapper.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false);
<BUG>mapper.addMixIn(RuleDefinition.class, RuleDefinitionMixin.class);</BUG>
mapper.addMixIn(Dashboard.class, DashboardMixin.class);
mapper.addMixIn(ExternalServer.class, ExternalServerMixin.class);
mapper.addMixIn(ForwardPayload.class, ForwardPayloadMixin.class);
<BUG>mapper.addMixIn(Gateway.class, GatewayMixin.class);
mapper.addMixIn(Node.class, NodeMixin.class);</BUG>
mapper.addMixIn(Operation.class, OperationMixin.class);

@Override
public Object readFrom(Class<Object> type, Type genericType, Annotation[] annotations, MediaType mediaType,
MultivaluedMap<String, String> httpHeaders, InputStream entityStream) throws IOException {
ObjectMapper mapper = locateMapper(type, mediaType);
mapper.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false);
mapper.addMixIn(Dashboard.class, DashboardMixin.class);
mapper.addMixIn(ExternalServer.class, ExternalServerMixin.class);
mapper.addMixIn(ForwardPayload.class, ForwardPayloadMixin.class);
mapper.addMixIn(Gateway.class, GatewayMixin.class);
mapper.addMixIn(McMessage.class, McMessageMixin.class);
mapper.addMixIn(McScript.class, McScriptMixin.class);
mapper.addMixIn(Node.class, NodeMixin.class);
mapper.addMixIn(Operation.class, OperationMixin.class);
