Code formatting/organization in the JSON formatter
Clean up expand/collapse code.

Now the collapser won't collapse the top-level object/array, and it correctly collapses/expands all internal arrays/objects. It also does so more efficiently using querySelectorAll.
Progress
Quote problematic object property names (containing spaces, escaped characters, etc). Fixes #66.