Add defaultdict to context to avoid creating multiple instances of a cache for the cache tag