@christoph_wempe wrote a tool that extracts values from persistence through the REST API and inserts them into InfluxDB. You could change the InfluxDB part to instead write out to CSV.
Although if you just want to see the values, the first part shows the REST commands to get the DB values in JSON format.