Add Dsymbol hierarchy to visitor
Move json generation to new visitor
Merge pull request #3017 from yebblies/tojson

Move json generation to new visitor