Add a Hash#to_ostruct core extension to easily create an OpenStruct.
Replace calls to OpenStruct.new with calls to Hash#to_ostruct.
Update Hash#to_ostruct to traverse attributes and convert nested hashes.

Or collections of hashes.
Merge pull request #398 from moneyadviceservice/ostruct

Add Hash#to_ostruct for easy creation of OpenStruct