another refactor to cache jObj