initial commit for csv export service
convert captable to nested arrays
construct data uri of captable data as csv