Replace JSONDecodeError with ValueError

simplejson has JSONDecodeError, but json doesn't and raises ValueError instead.