convert dict.keys/values into lists