My profiles.json became empty. Better way to build it again?

I suppose I can manually create the content of the profiles.json with new "understable" names for profiles in relation with their directories's names but it will save my time to have the correct name of the profile immediatly... It will also avoid me issues because some profiles were very similar and it's possible I will make confusions...