Add support for nested hashes