Fixed issue with UUID not being generated on write
Fixes rolling version bug when merge occurs.