def Serialize(self):
    d = {}
    for p in self.properties():
      d[p] = getattr(self, p)
      if p in ['mtime', 'user']:
        d[p] = str(d[p])
    return util.Serialize(d)
Ensure that the file is written according to the schema
dataset/ETHPy150Open google/simian/src/simian/mac/models/base.py/BaseManifestModification.Serialize--crossover with--dataset/ETHPy150Open geopandas/geopandas/geopandas/tests/test_geodataframe.py/TestDataFrame.test_to_file_schema