Update Hash#to_ostruct to traverse attributes and convert nested hashes.

Or collections of hashes.