support for json template Phase 1