Converts the Dictionary to a Variant.
The result can be serialized or put into another Dictionary using @set.
instance of Dictionary
Variant object if successful, null otherwise.