Added a payload struct to get specific set of data to pass into each template render.