Issue #102 Implementation

Extreme optimization in JSON file generation
Merge pull request #174 from gitcac/issue-102

Issue #102 Implementation