fix(serializer): Don't call __iter__ on arbitrary sequences
#6304
+42
−2
__iter__ on arbitrary sequences
#6304