[monad.result] changed: common traceback function for serialization and exception hook