added csv_output for non service endpoints