"Encoding" CSV as JSON is trivial though, so make it output JSON then parse the array-of-arrays into CSV :)