OpenStruct doesn't get []= syntax until 2.0.0
Specify the UTF-8 encodings for JRuby [ci skip]