Function TemplatePreviewFromJSON