`JSON.parse` can throw, so you should try/catch this.