jruby's 2.0 support doesn't include Array#to_h yet