[Cocoa] Avoid some double-wrapping of strings and URLs