change JSONResponse setStatus/getStatus with int, change the response code to 422 Unprocessable Entity