Added compact serialization for UUIDs