I think this is a bit too fancy for our purposes. I'd be concerned if this ever failed! You can remove the alternate import of simplejson as json.