Returning OpenStruct instead of Hash. Found out that this only works in Ruby 2.0+ though