awk scripts to convert csv files to charjson.

documentation and test cases are included as comments in the file.