Custom CSV to JSON tools

I have found some csv to json tools

http://codebeautify.org/csv-to-xml-json

http://www.csvjson.com/csv2json

However, they are not suitable for me.

I am using CSV files as 2D tables, rather than row-based entries.

Here is an example

Code:
Level,Chimg,Acquire-chan,B2,Satia1,0,0,0,02,100,100,100,1003,200,200,200,200
The resulting JSON should be
Code:
{  "Chimg" : [0, 100, 200],  "Acquire-chan" : [0, 100, 200],  "B2" : [0, 100, 200],  "Satia" : [0, 100, 200]}
Short of writing one myself, is there a CSV to JSON tool that I can distribute with my plugins that will allow me to specify how the conversion should occur?
I really really doubt it.

Creating a dynamic JSON editor would be the best approach. This is one of my ideas on the very very low priority list.
Hmm I just realized I could just take the JSON and parse it into my own data structure.

Original thread: https://forums.rpgmakerweb.com/threads/custom-csv-to-json-tools.50426/