omshell: make play well with v8 output module interface

Note that this module is deprecated and only the bare necessary things
are done.