don't stringify an url if it's a string