python dictionary get values as array