fix JSON response on IOS