wal: update the docs to show the optional metadata field
Merge pull request #1552 from philips/fixup-wal-doc

wal: update the docs to show the optional metadata field