[Generator] Decoupled the Model and XML schema representation by introdu...

...cing a new XmlDumper object.