Add json gem as a dependency

This closes #24.
Require json lazily in dynamic analysis