Pass serializationVisitor to serializer