Switch to JSON response