try catch for JSON.parse