Preserve IsJson when using transactions

When using the ClientApi, events written using
    let tx = cnx.StartTranaction(stream, version);
    tx.WriteEvents(events);
    tx.Commit()

don't preserve the isJson information passed  in EventData.
Thus, their Json text is not shown in the web interface.

There was no prb with cnx.AppendEvents(stream, version, events).