Fix uuid {de,}serialization