add option for mark to get json
Merge pull request #11 from paultgibbons/master

add option for mark to get json