Switch to outputting json.