def make_traceback(traceback):
    """Return JSON-serializable traceback details."""
    return [{
        'path': entry.reprfileloc.path,
        'lineno': entry.reprfileloc.lineno,
        'message': entry.reprfileloc.message,
    } for entry in traceback.reprentries]