Fix handling of hashes within the rubies array. Fixes #56