make simplejson an optional for testing