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

This fix was accidentally omitted when the message spec recently changed.