fix printing of dicts