This is an actual work problem we had to solve. Put simply: given a structure (e.g. nested dictionaries) and a mapping of old dicionarydictionary keys to new ones, produce a new structure that is anatomically identical to the original, uses the new dictionary keys, and preservers every other value. In spite of the simple phrasing, .
Became Hot Network Question