Adding List generation to ObjectGenerator