Extract app.importAllFromJSON() & .exportAllToJSON() from ui