Export database to Json file (actual commit)