Fixes for runInTransaction

* always pass a value for json in makeReq so that request takes care of sending headers for json and parsing object from response body
* read the correct value for transaction id
* couple of typos and other minor fixes