Get stdin discovery plugin working for json data strings
Change rpc application over to use the stdin discovery plugin