expect json response from the validator