changed the ranged_objects metrics query to build a look-up of object names, instead of querying over and over again during the main for loop