change dicts to strings