Added template json for text widget in the GUI