- make the xml serialization code a mixin