Hash#dotted_paths will return proper paths when values are empty hashes