Added path template conversion for routes