Parse response as JSON