Fix HWIA#to_hash behavior with array of hashes.
Merge pull request #10631 from kennyj/improve_10266

Fix HWIA#to_hash behavior with array of hashes.