Adds json response check for rendering methods