[WIP][3.9] Transform thesaurus preset into doctrine Entity