[enh] export: Use a transaction for the whole thing
[enh] export: Export vote as list instead of dict, use less memory and is faster