This is required as csv writer doesn't expose the serde::Serializer implementation, so we can't just use that trait in place of the output writer
This is required as csv writer doesn't expose the serde::Serializer implementation, so we can't just use that trait in place of the output writer