fix url encoding in services

At this point, zero attributes should be encoded URLs