ByteArrayOutputStream bos = new ByteArrayOutputStream();
FeatureCollectionType fct = WfsFactory.eINSTANCE.createFeatureCollectionType();
fct.getFeature().add(fs.getFeatures());
// write out the results
CSVOutputFormat format = new CSVOutputFormat(getGeoServer());
format.write(fct, bos, op);
// read the response back with a parser that can handle escaping, newlines and what not
List<String[]> lines = readLines(bos.toString());
// we should have one header line and then all the features in that feature type