Improve caching for ModelMetadata CacheKey