renamed jsonBuilder to templateRenderer