wal: remove unneeded fields from record