* feat: add export endpoint
This is not at all complete, but acts as a good base.
* chore: more todos
* feat: fetch folders and their parents
* feat: export to folders
* refactor: use constant for folder key
(cherry picked from commit d403f5255e)