if std.type(foo) == 'array' then { foo: foo } else { foo: [foo] }
