Perturbation of formality for universal envelopping algebras