Simplify uuid_to_string functions.