Currently exc_to_msg is a context manager that must be invoked before calling any JobComm code in order to transform all exceptions into comm errors. Converting it into a class decorator for JobComm would simplify all invocations of JobComm code and remove margins for error forgetting to invoke the context manager.