CacheMapService.py - Updates to cache script to work with REST API