moved template for json/allpath