#785: svm_json.py, correctly define variable indexes