move obj-str conversion out of the Message class