generate json string of index before sending message to parent process
Merge branch 'master' of github.com:glg/nectar