Support built-in json and fallback to simplejson