[Generator] Decoupled the Model and XML schema representation by introducing a new XmlDumper object.