Added a function to get all keys in the cache