Relax JSON dependency to ~> 1.7, >= 1.7.7

This resolves https://github.com/voloko/sdoc/issues/66