Removed duplication of code on WAL records (class smaller and no duplication of lsn), small reduction of code on writing to binary serializer