Change Dictionary to Hashmap