marshallers.add(new org.grails.web.converters.marshaller.xml.MapMarshaller());
marshallers.add(new org.grails.web.converters.marshaller.xml.EnumMarshaller());
marshallers.add(new org.grails.web.converters.marshaller.xml.DateMarshaller());
marshallers.add(new ProxyUnwrappingMarshaller<XML>());
marshallers.add(new org.grails.web.converters.marshaller.xml.ToStringBeanMarshaller());
ProxyHandler proxyHandler = getProxyHandler();
DeprecatedGrailsConfig grailsConfig = new DeprecatedGrailsConfig(grailsApplication);
boolean includeDomainVersion = includeDomainVersionProperty(grailsConfig, "xml");
if (grailsConfig.get("grails.converters.xml.default.deep", false)) {
marshallers.add(new org.grails.web.converters.marshaller.xml.DeepDomainClassMarshaller(includeDomainVersion, proxyHandler, grailsApplication));