config: fix set/update of list and dict types