Misc. updates

- Changed from using `X-Encrypted` header to using a `Content-Type` of `application/json-encrypted`.
- Remove the `switch` block for the response content type and instead just always expect JSON.