http: add csv export endpoint for reports data

Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>