replaced JSONResponse object