Added function to properly format UUIDs to UUID v4 standards.