A JavaScript XML serializer