Preserve map/set order while encoding and decoding.