TxEngine: serialized class metadata were not saved on commit. Fix #183