Array#to_h is apparently only available in 2.1+