Uuid serialization improvements