Get rid of one of the unnecessary dicts.