Added support of cache.json to Memcached class.