Convert "/" in the path to "." for message types