deepcopy config dicts and lists to avoid accidental mutation.
Cleaner config jiggery-pokery.