XML Encoders works with lists now. Just needs to be able to encode a generator type.