Add export functionality. 

Use an interface similar to publishing. 

Stdout = YAML documents 

Extensions: yml, csv, tsv, xlsx