Replace index.json with package.json in snippets

See #196

Change-Id: I903787e6e36a2161645bd99b125a27d067c1f65e