Use json instead of deprected simplejson.
Retain Python2 compatibility.