json response in assertion