Try/catch around JSON.parse