Fixed generation of docs.json using document comments attached to AST during parsing