Catch errors in retreiving and parsing json files for beer chart