Change statement to test if Body is a json object