Started working on JSON

Started implementing JSON files for issues, but broken a couple of things.