CMS-2811 Create class for serializing a Mixin as XML