getting a dictionary value where part of the key is in a string,"{i: functools.reduce(dict.__getitem__, keys, d[i]) for i in d}"