ModelNode configuration = node.get(CONFIGURATION);
writer.writeStartElement(Element.CONFIGURATION.getLocalName());
writeAttribute(writer, Attribute.PID, configuration.require(PID));
if (has(configuration, CONFIGURATION_PROPERTIES)) {
ModelNode configurationProperties = configuration.get(CONFIGURATION_PROPERTIES);
Set<String> keys = configurationProperties.keys();
for (String current : keys) {
String value = configurationProperties.get(current).asString();
writer.writeStartElement(Element.PROPERTY.getLocalName());
writer.writeAttribute(Attribute.NAME.getLocalName(), current);
writer.writeCharacters(value);