The ordering of the properties changed because they are being set in two passed (iteration order is not guaranteed in JS)