Alternative method to export database
It appears that sometimes for complicated reasons, the export does not work, not because of the code but due to download limitations in Chrome / Canary
In this case, it could be handy to have a special page to display the whole db as a json file without downloading it, just displaying so the end user can save his data before uninstalling / reinstalling or whatever solution to fix this download issue