Check the JSON structure