Added support for CSV/JSON output from worksheet itself.