Added jsondoc compiler switch

Outputs top-level exported information in JSON