added serialization support to the Variant type