save json fields only in cache if resource is cacheable