fn extract_optional_string(row: &[Value], index: usize) -> Option<String>
Extracts an optional string value from a row.