Serialize deserialize struct fields in lexicographic order.  Didn't
have to use lexicographic order, but both serializer and deserializer
needed to put their fields in in same order.