Check Jsonable interface in Response::json method. Fixes #1947.