Swartz thought that JSTOR was an illegitimate institution and he thought that justified him doing whatever he wanted to them. Why should prosecutors respect his moral judgments in that regard? He thought the law was wrong...so you think prosecutors should assume that everyone who thinks the law is wrong is "trying to make the world better"?
I get that lots of people here agree with him: they think JSTOR is awful and they think they're entitled to do whatever they want to JSTOR, the laws be damned. But why should prosecutors believe that?
that's why Reason magazine (among others) has endorsed Aaron's law to at least fix one part of this.
I believe that "Aaron's law" wouldn't have made any difference in his case at all.
I've seen people propose minor tweaks, but none that would have made a real difference for Swartz. And I've seen a lot of incredibly vague proposals that boil down to dramatically weakening prosecutors' power in criminal cases. But these are jokes: they're so vague that no one could ever advocate for them or they're politically impossible (Congressman, I write you today to urge you to make it harder for federal prosecutors to offer plea bargains for less than 1/5 the maximum sentence they're seeking).