converts a legacy hash table into a usable hash table