Nested list value inside map csv export

That uses to_string/1 to encode anything but a BitString. So you probably hit a charlist issue here.

You need to preprocess your data properly to make it encodable.