fn adapt_array_ref_it<K, V>(pair: &(K, V)) -> (&K, &V)
adapts Item of array reference iterator to Item of hashmap reference iterator.