Export folders and subfolders structures

I need to reorganize my folders and subfolders to integrate with other resources not on paperpile. I have on the order of 100 folders and subfolders. Is there a way to export folders and subfolder structures easily?

@Joshua_Lawrence Exporting your library as CSV or JSON will retain your folders, subfolders, and labels. You can export your library by going to Settings > Export.