Simplifies strings for artifact upload