Using methyl 2-(5-bromo-1,2,3,4-tetrahydroisoquinolin-1-yl)acetate, methyl 2-(2-acetyl-5-bromo-1,2,3,4-tetrahydroisoquinolin-1-yl)acetate to produce 9-bromo-3,4,7,8-tetrahydro-[1,4]diazepino[7,1-a]isoquinoline-2,5-dione, please predict the condition, including solvent and agent in SMILES notation in json format like:

```JSON
{
    "solvent": [
        "CCN(CC)CC",
        "CCOC(C)=O"
    ],
    "agent": [
        "On1nnc2ccccc21",
        "C(=NC1CCCCC1)=NC1CCCCC1",
        "Cl"
    ]
}
```
