Take care of possible parse error in http response