Better error message if we have a bad json file.