Fix ServiceHelper.toName() utility.