Fix deprecation (1)

Simplejson deprecation fix was merged into master, but not into this branch.