rest json template in conf