Update util functions

Cribbed from http://api.rubyonrails.org/classes/Hash.html#method-i-symbolize_keys. Might be better to open hash and add these on to it as well. I also don't think stringify_hash_keys is being used anywhere?