Added JSON validation for the config files