remove metrics not found in json files