Declared marshaler variable for the Domain classes and added accessors for this variable.
This is to allow for choosing a way to marshal objects but the default will be marshaling to  xml.