converts legacy array-based hash into 1:1 hash table