[swift] Converting URL to String and back again