I added possibility to use Factory for XMLGenerator, In this moment you can send an  Object Messages not only Array Messages