Extract Python traceback from JSON