serialize UUIDs