Fix deprecation (1)

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