simple string metrics retrieve from a json file