Move serialization to xmlserializer for all browsers, improved conversion on all platforms