Generate JSON for snippets on build.  Issue #35