complete array transform to hashes