Seems so but whether this is a bug, I'm not quite sure. Since I don't know for what exactly encodeObject should be used for, perhaps sending the results over RED.comms.publish
is not an intended use case.
But I doubt that
Edit: P.S. this difference in APIs reminds me of my question from last week!