UUIDSerializer
A custom Kotlinx Serialization serializer for Mojang-style UUID strings.
Mojang's APIs use a compact UUID format (32 hexadecimal characters without hyphens). This serializer ensures UUIDs are encoded in that format and decoded back into standard Java UUID objects.
Also provides a helper method to convert compact or hyphenated UUID strings into valid UUID instances.