Generate JSON for snippets on build. Forgot the scriptSnippets. Issue #35