generic dict same as hashtable, Transpose dict

System.Collections.Generic.Dictionary[string,object] should behave the same as Hashtable.

Added function Transpose of the Dictionary to support old behaviour.