CLI tool build to manipulate multiple svg files, it optimizes and compresses the svg file and converts all the shapes to path elements using SVGO, when done it creates a json file with the converted path data.
$ npm i mohammadwali/svg-shapes-to-path -g
$ svgShapesToPath convert ./mySvgFilesRoot
$ svgShapesToPath convert ./myfile.svg -f