slight modifications to the API's CSV renderer.  Need to make this more generic.