Added simplejson backwards compatiblity check