Tu envoie un tableau de String contenant l’username, un tableau de string contenant les UUID (GameProfile.getId().toString()) puis quand tu récupère les tableaux tu peux utiliser :
GameProfile profile = new GameProfile(UUID.fromString(uuidString), username);