check the return value from json.Unmarshal (errcheck)