Added a save button to export the JSON.