Added a serializer for JsonDOM xml documents