setdefaults for dicts