Change the outputformat to be json.