try/catch json.parse