Save it wherever you want. For example, in ~/.config/mabox/my-submenu.csv
Then hook it to ~/.config/mabox/favorites.csv this way:
My submenu,^pipe(cat ~/.config/mabox/my-submenu.csv)
Also maybe look at some advanced example of Left Sidepanel customization…