Returns the current set of references from a cache object for changing (the map is returned as a reference, therefore it can be changed and affects the cache object).