allow to pass object as message content