Address JRuby `OpenStruct` inconsistency