require json at the top to avoid 2.0.0 issues
Merge pull request #80 from pearkes/json

require json at the top to avoid 2.0.0 issues