convert dict.keys() into list