Improve om help and add json output handler