Fixed broken Hash#to_h after 0c40da7.