XSugar code for EpiDoc<->Leiden+ transformation