Fix mods not showing as optional when installing server with JSON