> illegal json.. trailing comma.

Ah it seems DMD adds this automatically, will fix.

> The aliases layout feels strange.

Would this be ok:

`import mod: alias1 = target, alias2 = target, target, target2;`

```
    "aliases" :
    [
        {
            "alias1" : "target",
            "alias2" : "target"
        },
        "target",
        "target2"
    ]
```