docs: public void serialize(XMLExtendedStreamWriter writer, GlobalConfiguration globalConfiguration, Map<String, Configuration> configurations) throws XMLStreamException {
        writer.writeStartDocument();
        writer.writeStartElement("infinispan");
        Serializer serializer = new Serializer();
        serializer.serialize(writer, new ConfigurationHolder(globalConfiguration, configurations));
        writer.writeEndElement();
        writer.writeEndDocument();
     }