#785: svm_json.py, change label dict to list