Correct aquisition of json data from request response