New: Added format check when loading json config files.