Allow json to be false
Merge pull request #3 from joeybaker/patch-2

Allow json to be false