This hackish PHP script will download XML records in batches from Harvard's VIA.  It will then convert all the XML files to JSON.