apply key converter in nested hashes