committed xm2json.py