Make sure the .json file is valid json.