Standardise explanation generation by using render_to_string