use result_content dict
add status value 'unknown'
catch exception for invalid BSON
use argparse instead of optparse
support single action on all known jobs
support action on single task of certain job