New utils and conversion to dust templates