add cache for Jlist and Jdict