Added script to export to json