Align templates to new ajax return format.