register json response validation