so one can debug print(path) and get things like 'Paint.Paint.ColorLine.ColorStop[1]'
this is adapted from nanoemoji's d65a627154/src/nanoemoji/util.py (L122-L162)
d65a627154/src/nanoemoji/util.py (L122-L162)