Fixed a server crash and issues with UUIDTypeAdapter