Group - relations
This utility works on an input feature collection of turn restrictions from OSM and re-group them into features based on unique relations IDs. So the number of features in the output geojson will be equal to the number of unique relation IDs present in your input collection.
group-relations --filename <source.geojson>
This will give the restructured geojson output to
group-relations --filename <source.geojson> > <output.geojson>
This saves the restructured geojson to a file named