Curator: include all the hierarchy levels in the cache key
Result flattening was a premature optimisation