added special support for uuid type and optimized syncId serialization using the new type