Something like this? {{ path("foo", { foo: [1, 2] }) }}?