Fix for deep nested hashes