revamp the analysis approach

json - (obj) - json - csv

csv provides interface to other analytical software