Make json.load Python 3 compatible

Code does not work for Python 3. The change has been regression tested with Python 2.7.5

[Details of error and fix](http://flummox-engineering.blogspot.com/2014/04/jsonloads-typeerror-on-python-3.html)