In order to allow to switch between the Python/Chip server and matter,js server dynamically we need to make sure to:
- Migrate an existing "chip.json" Storage into matter.js Fabric format
- Migrate the node list of an existing ".json"
- Update the ".json" file with the node list and "next node id" fields when nodes are added in matter.js
- Generate chip.json from matter.js Fabric when it gets newly created as initial fabric, maybe just rewrite the chip.json always on start
In order to allow to switch between the Python/Chip server and matter,js server dynamically we need to make sure to: