Adding simple to_csv method