nmsg_io: backing out 32f98ebd472d851986bd97a20c3bb4d55977d227
nmsg_output: Better fix for issue #2, store reference in output obj.