modified the input data to ensure it is converted to strings within the
template.