Add support for json files
Merge pull request #408 from AlexMeah/master

Add support for json files
Added support for <image> tags with xlink:href and src linking

closes #413
Merge remote-tracking branch 'upstream/master'