Added a toJSON method that returns JSON
Update gitignore to include node_modules
Now with a useful toJSON method
updated toJSON()
Merge branch 'rschmukler-toJSONFix'