The JSON wrapper is repeated in each test case. Consider moving it to your custom assert helper.