Remove constraint message being a string

I'm new to Node-RED, so I'm not sure if there is a particular reason that the message needs to be a string.

Though it might have helped me debug a bit if my js object had been visible in the debug node rather than the 'Received message is not a string' error.