Change vector element type to shared_ptr<Variant>