Patch to serialize transactions in blocks.

* This will most likey have an impact on performance