fixing in json exporter