add helper classes which makes it easier to write json, csv or xml data to a output stream