Will this serialize to the same thing regardless of array order? Haven't tested, but I suspect no, so might need a `sort`.