Hoping to get to refunds in a week or so, @sagor. (Full disclosure: I haven’t reviewed the data Amazon provides so it is possible it will not be sufficient to match the previous implementation.)
The CSV tool is not open source. I’ve created a few projects in the past that might work if you want to lightly automate your workflows.