serialize commit