[v6r10] Few fixes for TransformationClient -> Handler -> DB

Also, backported 2 functions from integration branch, for completely clean transformations.