Switch array storage to JSON from pickle for better cross-platform support and because Alex Gaynor's talk convinced me pickle is bad.  Also fixes PyPy support.