fix iterable serialization
Merge pull request #3 from feighter09/serialization

fix iterable serialization