Make sure each piece of your template is named and has only one variant visible
Group all of the layers, duplicate the group, make the original invisible.
Merge each section into a single layer.
Export layers to files. Make sure to check visible layers only, transparency, and trim layers
Import to Marpipe & build you template. :)