Canonicalize setting of `:json` request parameter

Remove any setting of the `:json` request parameter except from `get` and `post`.