Option to serialize data (for CSV writing)