spelling changes
changed json output to present each bin as a "document" rathar than a list of bins
Merge pull request #8 from nburns/master

Spelling and json format fix