correcting ajax json response parse format