Convert operational transformation algorithm to reversible