Add json processor stub

Copy pasted from XMLProcessor
Add simple test file

To test / debug the JSON output
Add dependency to GSON
Implement writing to json

Implementation copied from the XML one
Replace XML with json
Remove needless comments
Make public

In case clients want a string and not a file write side effect.
Merge pull request #2 from cdmihai/jsonTreeOutput

Output tree in JSON