Completed XML serializer