Handle tuples in XML serializer