fixed template writer json path