I wish to apply some replacements in my association. For example, suppose I have
<|a->b,c-><|1->2,b->d|>|>
then, how to replace all instances of a with A, b with B, c with C and d with D? My desired output is
<|A->B,C-><|1->2,B->D|>|>
Note that I do not necessarily wish to capitalise. This is just an example. A /. only replaces the values. I wish to replace all elements (keys and values) to the extent of nests as well.