created layer_to_csv method on GeeseDB, works nicely.