Avoid serializing UUIDs as strings.