Helper to prefix keys of a dictionary.