Set the format to JSON.