Add syntax check for JSON files.