Set UUID on documents on persist already.
cleanup assign uuid on persist
Merge branch 'assign-uuid-early'