JSONify historical market data
Merge pull request #3 from pmallory/master

Agreed on all points. I think the marketData structure is a little better this way and makes the iteration functions a little easier to understand.