Add command to export data as JSON file