cache the data after initial processing (getting keys for all aggregations and parsing)