Switch to using python json library to avoid deprecation warnings from simplejson.