Fix iteration for new serializer DSL