Just grab the text of XML Literals for serialization.  This is a limitation.