Added json handlers for transactions