Make encodeSlash() a utilService