Ruby 1.9 OpenStruct doesn't have a #[] method