Convert mods.json to new weight system