Check config file is valid json