Validate JSON configuration.