allow restclient to handle url formatting