Fixes the on disk format to be the same as what we send on the network