It seems list is not the data structure we want. For example, if I want to allow host 192.168.1.10 to connect to port 1200, 1201 and 1202 I would need 3 lines

    "allowed_connections": [
        ["192.168.1.10", "1200"],
        ["192.168.1.10", "1201"],
        ["192.168.1.10", "1202"]
    ]

I think the cool way is to be able to do this from node.json:

    "allowed_connections": {
        "192.168.1.10": [1200, 1201, 1202]
    }

Even better if you can do this

    "allowed_connections": {
        ["192.168.1.10", "192.168.1.10"]: [1200, 1201, 1202]
    }