def save(self, filePath):
        repr = json.dumps(self._toRepresentation(), ensure_ascii=False)
        with open(filePath, 'w') as f:
            f.write(repr)
If SMI_FLAG_RECURSIVE is set, the library also complains about
dataset/ETHPy150Open mikrosimage/OpenRenderManagement/src/puliclient/__init__.py/Graph.save--crossover with--dataset/ETHPy150Open kdart/pycopia/SMI/pycopia/SMI/SMI.py/Flags.recursive