Requested by Jens Rehsack in PR 39599. Tie::Array::AsHash uses some practical extracting code so arrays can be tied to hashes.