Fix HWIA#to_hash behavior with array of hashes.