[python] key order on dict is undefined