`licenses.json` is actually intended to be generated and served up as a sort of API.  It shouldn't be excluded.