ToUUID fix

Fixing byte order problem.