handle results catches json parse erroro