there's no need for this as json module is available since Python 2.6: http://docs.python.org/2.6/library/json.html