Replace dict(listcomprehension) with dict comprehension