URL encode all the names passed