Added jsondoc compiler switch

Outputs top-level exported information in JSON
Merge pull request #742 from onionhammer/master

Added jsondoc compiler switch