Fixed "data" to "text" change in message spec

This fix was accidentally omitted when the message spec recently changed.
Merge pull request #6788 from dsblank/patch-2

Fixed "data" to "text" change in message spec