Added row2dict() helper fn. Now passing json object to javascript.