add JSONResponse class