Switch to plaintext for non-json endpoints.