checking to make sure the formatting is right for the new json response format