Using template with nested loops, the expected file is generated correctly however few renderer variables (in this case !# END_LOOP item and !# FINISH) are not removed from the generated file.
(@Siemienik EDIT): Reproduce:
sxr --model vm.json template.xlsx > result.xlsx