decoupling path parsing from toTemplate
0.1.7