fixed csv serializer to suport list subclasses