change JSONResponse to the old one