class_docstr: Reads an svg file and exports paths to a JSON format.
  
  Only segments and Bezier curves are supported
code: def __init__(self, filename):
      self.filename = filename
      self.svg = svg.parse(filename)
      self.paths = self.svg.flatten()
  
file_path: nilearn/nilearn/plotting/glass_brain_files/svg_to_json_converter.py
imports: import json
  import re
  import sys
label_desc: Use image node_id 1 to create a new SVGToJSONConverter object  with example: obj = SVGToJSONConverter(filename)