Make Python 3 happy: Don't depend on order of dict