Fix licenses.json crash