JsonNode settingsNode = outputWriterNode.path("settings");
if (settingsNode.isMissingNode()) {
} else if (settingsNode.isObject()) {
ObjectMapper mapper = new ObjectMapper();
@SuppressWarnings("unchecked")
Map<String, Object> settings = mapper.treeToValue(settingsNode, Map.class);
outputWriter.setSettings(settings);
if (settings.containsKey("enabled")) {
outputWriter.setEnabled(Boolean.valueOf(String.valueOf(settings.get("enabled"))));
}
} else {