fix output of uuids (bug 50457)