Add an `isjson` property.

It returns whether `application/json` is preferred over `text/html`.