* return mg/sh output as jData (it handles binary output)
* add support for input to mg/sh. fixes #251
* ann