Looks kind of hackish, but it works. Nested hashes now work.