added metrics in json and csv in Config