Added serialization of HashTable instead of Dictionary