Future<String> exportAsCSV() async => Json.mapToCSV((await getAll()).map((e) => e.toJson()).toList());