Force path and urls to always be strings