generates random data based on a defined template model