now the json is checked against the expected result