CSPACE-5845: Applied standard code formatting to TemplateExpander, prior to work that may potentially revise this file in CSPACE-5845 and other work on Imports service.