Could this fail?  If the JSON is invalid, this might throw, no?  Should we wrap this in a try...catch and print an error to the console if it does?