Fix issue that pushSync error sends pullSync.failure notification
avoid isDirty in serializatin