Starting work on JSON

Trying to get the output into a json format that isn't just a long series of arrays.

Realized I need to comment this code today.

That will be part of this process.