improving stringify / parse for cached objects