Now the results are exported in JSON format