Fixed a issue where []= method was not implemented in OpenStruct in ruby 1.9.3