Change expect_json to put parsed json in new attr