get a list of keys from the hashtable