use jsonlib (if available) before using simplejson