progress on json exporter