check config file for valid json