decoding entire path as opposed to each token in tree router during route