Improve write-out parameters to support non-html curl output