bugfix Mod.loadMod trying to parse folders as JSONs