server: enhance control flow and factor out error handling
feature: export bookmarks in firefox format
add export button next to import button