another approach for fixing the json exporter test