Split the routines to convert database fields to UUIDs into separate methods