The articles Swartz intended to post online were in the public domain. Google does the exact same thing with public domain and copyright-protected books through the Hathi Trust and their own Google Books site.
The raw court filings refute this argument, which I think is probably folkloric. JSTOR did release many articles to the public domain, but they appear to have been a small subset of the total Swartz captured.