making serializing more predictable