there's no such thing as Array#to_h

(cherry picked from commit 780bd84bc17f55b0ece1d86a2b224f0340495c73)
Merge pull request #499 from openSUSE/arrays_and_hashes_oh_my

there's no such thing as Array#to_h