Do not pass plain objects as a template, use $CR.TEMPLATE() instead.