Migrate Structured Headers tests to `Dictionary(Dictionary::unique_keys, ...)`.

Update `generate_structured_headers_tests.py` to emit `Dictionary()` for empty dictionaries and `Dictionary(Dictionary::unique_keys, ...)` instead of the deprecated untagged `Dictionary(std::vector<DictionaryMember>)` constructor, regenerate `structured_headers_generated_test.cc`, and migrate `structured_headers_test.cc` (retaining coverage of the deprecated constructor in `DictionaryConstructors`).

PiperOrigin-RevId: 1020241748
diff --git a/quiche/common/structured_headers_generated_test.cc b/quiche/common/structured_headers_generated_test.cc
index deb63b7..2becf7a 100644
--- a/quiche/common/structured_headers_generated_test.cc
+++ b/quiche/common/structured_headers_generated_test.cc
@@ -18,8 +18,8 @@
 // being automatically translated from the JSON source to C++ unit tests. Please
 // do not modify, as the contents will be overwritten when this is re-generated.
 
-// Generated on 2026-10-30 from structured-field-tests.git @
-// 2f9d4579ff621a10a947cda73c9f8dc8b6f22edc.
+// Generated on 2026-11-12 from structured-field-tests.git @
+// 10781e4a59c387853c900cc06cdd8a3fd7ae4134.
 
 namespace quiche {
 namespace structured_headers {
@@ -4614,119 +4614,140 @@
     // dictionary.json
     {"basic dictionary",
      "en=\"Applepie\", da=:w4ZibGV0w6ZydGUK:",
-     {Dictionary{
+     {Dictionary(
+         Dictionary::unique_keys,
          {{"en", {Item(Item::string, "Applepie"), {}}},
           {"da",
-           {Item(Item::byte_sequence, "\303\206blet\303\246rte\012"), {}}}}}}},
-    {"empty dictionary", "", {Dictionary{{}}}},
-    {"single item dictionary", "a=1", {Dictionary{{{"a", {Integer(1), {}}}}}}},
+           {Item(Item::byte_sequence, "\303\206blet\303\246rte\012"), {}}}})}},
+    {"empty dictionary", "", {Dictionary()}},
+    {"single item dictionary",
+     "a=1",
+     {Dictionary(Dictionary::unique_keys, {{"a", {Integer(1), {}}}})}},
     {"list item dictionary",
      "a=(1 2)",
-     {Dictionary{{{"a", {{{Integer(1), {}}, {Integer(2), {}}}, {}}}}}}},
+     {Dictionary(Dictionary::unique_keys,
+                 {{"a", {{{Integer(1), {}}, {Integer(2), {}}}, {}}}})}},
     {"single list item dictionary",
      "a=(1)",
-     {Dictionary{{{"a", {{{Integer(1), {}}}, {}}}}}}},
+     {Dictionary(Dictionary::unique_keys, {{"a", {{{Integer(1), {}}}, {}}}})}},
     {"empty list item dictionary",
      "a=()",
-     {Dictionary{{{"a", {std::vector<ParameterizedItem>(), {}}}}}}},
+     {Dictionary(Dictionary::unique_keys,
+                 {{"a", {std::vector<ParameterizedItem>(), {}}}})}},
     {"no whitespace dictionary",
      "a=1,b=2",
-     {Dictionary{{{"a", {Integer(1), {}}}, {"b", {Integer(2), {}}}}}},
+     {Dictionary(Dictionary::unique_keys,
+                 {{"a", {Integer(1), {}}}, {"b", {Integer(2), {}}}})},
      "a=1, b=2"},
     {"extra whitespace dictionary",
      "a=1 ,  b=2",
-     {Dictionary{{{"a", {Integer(1), {}}}, {"b", {Integer(2), {}}}}}},
+     {Dictionary(Dictionary::unique_keys,
+                 {{"a", {Integer(1), {}}}, {"b", {Integer(2), {}}}})},
      "a=1, b=2"},
     {"tab separated dictionary",
      "a=1\t,\tb=2",
-     {Dictionary{{{"a", {Integer(1), {}}}, {"b", {Integer(2), {}}}}}},
+     {Dictionary(Dictionary::unique_keys,
+                 {{"a", {Integer(1), {}}}, {"b", {Integer(2), {}}}})},
      "a=1, b=2"},
     {"leading whitespace dictionary",
      "     a=1 ,  b=2",
-     {Dictionary{{{"a", {Integer(1), {}}}, {"b", {Integer(2), {}}}}}},
+     {Dictionary(Dictionary::unique_keys,
+                 {{"a", {Integer(1), {}}}, {"b", {Integer(2), {}}}})},
      "a=1, b=2"},
     {"whitespace before = dictionary", "a =1, b=2"},
     {"whitespace after = dictionary", "a=1, b= 2"},
     {"two lines dictionary",
      "a=1, b=2",
-     {Dictionary{{{"a", {Integer(1), {}}}, {"b", {Integer(2), {}}}}}},
+     {Dictionary(Dictionary::unique_keys,
+                 {{"a", {Integer(1), {}}}, {"b", {Integer(2), {}}}})},
      "a=1, b=2"},
     {"missing value dictionary",
      "a=1, b, c=3",
-     {Dictionary{{{"a", {Integer(1), {}}},
-                  {"b", {Item(true), {}}},
-                  {"c", {Integer(3), {}}}}}}},
+     {Dictionary(Dictionary::unique_keys, {{"a", {Integer(1), {}}},
+                                           {"b", {Item(true), {}}},
+                                           {"c", {Integer(3), {}}}})}},
     {"all missing value dictionary",
      "a, b, c",
-     {Dictionary{{{"a", {Item(true), {}}},
-                  {"b", {Item(true), {}}},
-                  {"c", {Item(true), {}}}}}}},
+     {Dictionary(Dictionary::unique_keys, {{"a", {Item(true), {}}},
+                                           {"b", {Item(true), {}}},
+                                           {"c", {Item(true), {}}}})}},
     {"start missing value dictionary",
      "a, b=2",
-     {Dictionary{{{"a", {Item(true), {}}}, {"b", {Integer(2), {}}}}}}},
+     {Dictionary(Dictionary::unique_keys,
+                 {{"a", {Item(true), {}}}, {"b", {Integer(2), {}}}})}},
     {"end missing value dictionary",
      "a=1, b",
-     {Dictionary{{{"a", {Integer(1), {}}}, {"b", {Item(true), {}}}}}}},
+     {Dictionary(Dictionary::unique_keys,
+                 {{"a", {Integer(1), {}}}, {"b", {Item(true), {}}}})}},
     {"missing value with params dictionary",
      "a=1, b;foo=9, c=3",
-     {Dictionary{{{"a", {Integer(1), {}}},
+     {Dictionary(Dictionary::unique_keys,
+                 {{"a", {Integer(1), {}}},
                   {"b", {Item(true), {Param("foo", 9)}}},
-                  {"c", {Integer(3), {}}}}}}},
+                  {"c", {Integer(3), {}}}})}},
     {"explicit true value with params dictionary",
      "a=1, b=?1;foo=9, c=3",
-     {Dictionary{{{"a", {Integer(1), {}}},
+     {Dictionary(Dictionary::unique_keys,
+                 {{"a", {Integer(1), {}}},
                   {"b", {Item(true), {Param("foo", 9)}}},
-                  {"c", {Integer(3), {}}}}}},
+                  {"c", {Integer(3), {}}}})},
      "a=1, b;foo=9, c=3"},
     {"trailing comma dictionary", "a=1, b=2,"},
     {"empty item dictionary", "a=1,,b=2,"},
     {"duplicate key dictionary",
      "a=1,b=2,a=3",
-     {Dictionary{{{"a", {Integer(3), {}}}, {"b", {Integer(2), {}}}}}},
+     {Dictionary(Dictionary::unique_keys,
+                 {{"a", {Integer(3), {}}}, {"b", {Integer(2), {}}}})},
      "a=3, b=2"},
     {"dictionary key ordering",
      "m, z, t",
-     {Dictionary{{{"m", {Item(true), {}}},
-                  {"z", {Item(true), {}}},
-                  {"t", {Item(true), {}}}}}}},
+     {Dictionary(Dictionary::unique_keys, {{"m", {Item(true), {}}},
+                                           {"z", {Item(true), {}}},
+                                           {"t", {Item(true), {}}}})}},
     {"numeric key dictionary", "a=1,1b=2,a=1"},
     {"uppercase key dictionary", "a=1,B=2,a=1"},
     {"bad key dictionary", "a=1,b!=2,a=1"},
     // examples.json
     {"Example-DictHeader",
      "en=\"Applepie\", da=:w4ZibGV0w6ZydGU=:",
-     {Dictionary{
+     {Dictionary(
+         Dictionary::unique_keys,
          {{"en", {Item(Item::string, "Applepie"), {}}},
           {"da",
-           {Item(Item::byte_sequence, "\303\206blet\303\246rte"), {}}}}}}},
+           {Item(Item::byte_sequence, "\303\206blet\303\246rte"), {}}}})}},
     {"Example-DictHeader (boolean values)",
      "a=?0, b, c; foo=bar",
-     {Dictionary{{{"a", {Item(false), {}}},
+     {Dictionary(Dictionary::unique_keys,
+                 {{"a", {Item(false), {}}},
                   {"b", {Item(true), {}}},
-                  {"c", {Item(true), {TokenParam("foo", "bar")}}}}}},
+                  {"c", {Item(true), {TokenParam("foo", "bar")}}}})},
      "a=?0, b, c;foo=bar"},
     {"Example-DictListHeader",
      "rating=1.5, feelings=(joy sadness)",
-     {Dictionary{{{"rating", {Item(1.5), {}}},
+     {Dictionary(Dictionary::unique_keys,
+                 {{"rating", {Item(1.5), {}}},
                   {"feelings",
                    {{{Item(Item::token, "joy"), {}},
                      {Item(Item::token, "sadness"), {}}},
-                    {}}}}}}},
+                    {}}}})}},
     {"Example-MixDict",
      "a=(1 2), b=3, c=4;aa=bb, d=(5 6);valid",
-     {Dictionary{{{"a", {{{Integer(1), {}}, {Integer(2), {}}}, {}}},
+     {Dictionary(Dictionary::unique_keys,
+                 {{"a", {{{Integer(1), {}}, {Integer(2), {}}}, {}}},
                   {"b", {Integer(3), {}}},
                   {"c", {Integer(4), {TokenParam("aa", "bb")}}},
                   {"d",
                    {{{Integer(5), {}}, {Integer(6), {}}},
-                    {BooleanParam("valid", true)}}}}}},
+                    {BooleanParam("valid", true)}}}})},
      "a=(1 2), b=3, c=4;aa=bb, d=(5 6);valid"},
     {"Example-Hdr (dictionary on one line)",
      "foo=1, bar=2",
-     {Dictionary{{{"foo", {Integer(1), {}}}, {"bar", {Integer(2), {}}}}}}},
+     {Dictionary(Dictionary::unique_keys,
+                 {{"foo", {Integer(1), {}}}, {"bar", {Integer(2), {}}}})}},
     {"Example-Hdr (dictionary on two lines)",
      "foo=1, bar=2",
-     {Dictionary{{{"foo", {Integer(1), {}}}, {"bar", {Integer(2), {}}}}}},
+     {Dictionary(Dictionary::unique_keys,
+                 {{"foo", {Integer(1), {}}}, {"bar", {Integer(2), {}}}})},
      "foo=1, bar=2"},
     // key-generated.json
     {"0x00 as a single-character dictionary key",
@@ -4774,7 +4795,7 @@
     {"0x29 as a single-character dictionary key", ")=1"},
     {"0x2a as a single-character dictionary key",
      "*=1",
-     {Dictionary{{{"*", {Integer(1), {}}}}}}},
+     {Dictionary(Dictionary::unique_keys, {{"*", {Integer(1), {}}}})}},
     {"0x2b as a single-character dictionary key", "+=1"},
     {"0x2c as a single-character dictionary key", ",=1"},
     {"0x2d as a single-character dictionary key", "-=1"},
@@ -4831,82 +4852,82 @@
     {"0x60 as a single-character dictionary key", "`=1"},
     {"0x61 as a single-character dictionary key",
      "a=1",
-     {Dictionary{{{"a", {Integer(1), {}}}}}}},
+     {Dictionary(Dictionary::unique_keys, {{"a", {Integer(1), {}}}})}},
     {"0x62 as a single-character dictionary key",
      "b=1",
-     {Dictionary{{{"b", {Integer(1), {}}}}}}},
+     {Dictionary(Dictionary::unique_keys, {{"b", {Integer(1), {}}}})}},
     {"0x63 as a single-character dictionary key",
      "c=1",
-     {Dictionary{{{"c", {Integer(1), {}}}}}}},
+     {Dictionary(Dictionary::unique_keys, {{"c", {Integer(1), {}}}})}},
     {"0x64 as a single-character dictionary key",
      "d=1",
-     {Dictionary{{{"d", {Integer(1), {}}}}}}},
+     {Dictionary(Dictionary::unique_keys, {{"d", {Integer(1), {}}}})}},
     {"0x65 as a single-character dictionary key",
      "e=1",
-     {Dictionary{{{"e", {Integer(1), {}}}}}}},
+     {Dictionary(Dictionary::unique_keys, {{"e", {Integer(1), {}}}})}},
     {"0x66 as a single-character dictionary key",
      "f=1",
-     {Dictionary{{{"f", {Integer(1), {}}}}}}},
+     {Dictionary(Dictionary::unique_keys, {{"f", {Integer(1), {}}}})}},
     {"0x67 as a single-character dictionary key",
      "g=1",
-     {Dictionary{{{"g", {Integer(1), {}}}}}}},
+     {Dictionary(Dictionary::unique_keys, {{"g", {Integer(1), {}}}})}},
     {"0x68 as a single-character dictionary key",
      "h=1",
-     {Dictionary{{{"h", {Integer(1), {}}}}}}},
+     {Dictionary(Dictionary::unique_keys, {{"h", {Integer(1), {}}}})}},
     {"0x69 as a single-character dictionary key",
      "i=1",
-     {Dictionary{{{"i", {Integer(1), {}}}}}}},
+     {Dictionary(Dictionary::unique_keys, {{"i", {Integer(1), {}}}})}},
     {"0x6a as a single-character dictionary key",
      "j=1",
-     {Dictionary{{{"j", {Integer(1), {}}}}}}},
+     {Dictionary(Dictionary::unique_keys, {{"j", {Integer(1), {}}}})}},
     {"0x6b as a single-character dictionary key",
      "k=1",
-     {Dictionary{{{"k", {Integer(1), {}}}}}}},
+     {Dictionary(Dictionary::unique_keys, {{"k", {Integer(1), {}}}})}},
     {"0x6c as a single-character dictionary key",
      "l=1",
-     {Dictionary{{{"l", {Integer(1), {}}}}}}},
+     {Dictionary(Dictionary::unique_keys, {{"l", {Integer(1), {}}}})}},
     {"0x6d as a single-character dictionary key",
      "m=1",
-     {Dictionary{{{"m", {Integer(1), {}}}}}}},
+     {Dictionary(Dictionary::unique_keys, {{"m", {Integer(1), {}}}})}},
     {"0x6e as a single-character dictionary key",
      "n=1",
-     {Dictionary{{{"n", {Integer(1), {}}}}}}},
+     {Dictionary(Dictionary::unique_keys, {{"n", {Integer(1), {}}}})}},
     {"0x6f as a single-character dictionary key",
      "o=1",
-     {Dictionary{{{"o", {Integer(1), {}}}}}}},
+     {Dictionary(Dictionary::unique_keys, {{"o", {Integer(1), {}}}})}},
     {"0x70 as a single-character dictionary key",
      "p=1",
-     {Dictionary{{{"p", {Integer(1), {}}}}}}},
+     {Dictionary(Dictionary::unique_keys, {{"p", {Integer(1), {}}}})}},
     {"0x71 as a single-character dictionary key",
      "q=1",
-     {Dictionary{{{"q", {Integer(1), {}}}}}}},
+     {Dictionary(Dictionary::unique_keys, {{"q", {Integer(1), {}}}})}},
     {"0x72 as a single-character dictionary key",
      "r=1",
-     {Dictionary{{{"r", {Integer(1), {}}}}}}},
+     {Dictionary(Dictionary::unique_keys, {{"r", {Integer(1), {}}}})}},
     {"0x73 as a single-character dictionary key",
      "s=1",
-     {Dictionary{{{"s", {Integer(1), {}}}}}}},
+     {Dictionary(Dictionary::unique_keys, {{"s", {Integer(1), {}}}})}},
     {"0x74 as a single-character dictionary key",
      "t=1",
-     {Dictionary{{{"t", {Integer(1), {}}}}}}},
+     {Dictionary(Dictionary::unique_keys, {{"t", {Integer(1), {}}}})}},
     {"0x75 as a single-character dictionary key",
      "u=1",
-     {Dictionary{{{"u", {Integer(1), {}}}}}}},
+     {Dictionary(Dictionary::unique_keys, {{"u", {Integer(1), {}}}})}},
     {"0x76 as a single-character dictionary key",
      "v=1",
-     {Dictionary{{{"v", {Integer(1), {}}}}}}},
+     {Dictionary(Dictionary::unique_keys, {{"v", {Integer(1), {}}}})}},
     {"0x77 as a single-character dictionary key",
      "w=1",
-     {Dictionary{{{"w", {Integer(1), {}}}}}}},
+     {Dictionary(Dictionary::unique_keys, {{"w", {Integer(1), {}}}})}},
     {"0x78 as a single-character dictionary key",
      "x=1",
-     {Dictionary{{{"x", {Integer(1), {}}}}}}},
+     {Dictionary(Dictionary::unique_keys, {{"x", {Integer(1), {}}}})}},
     {"0x79 as a single-character dictionary key",
      "y=1",
-     {Dictionary{{{"y", {Integer(1), {}}}}}}},
+     {Dictionary(Dictionary::unique_keys, {{"y", {Integer(1), {}}}})}},
     {"0x7a as a single-character dictionary key",
      "z=1",
-     {Dictionary{{{"z", {Integer(1), {}}}}}}},
+     {Dictionary(Dictionary::unique_keys, {{"z", {Integer(1), {}}}})}},
     {"0x7b as a single-character dictionary key", "{=1"},
     {"0x7c as a single-character dictionary key", "|=1"},
     {"0x7d as a single-character dictionary key", "}=1"},
@@ -4956,53 +4977,54 @@
     {"0x29 in dictionary key", "a)a=1"},
     {"0x2a in dictionary key",
      "a*a=1",
-     {Dictionary{{{"a*a", {Integer(1), {}}}}}}},
+     {Dictionary(Dictionary::unique_keys, {{"a*a", {Integer(1), {}}}})}},
     {"0x2b in dictionary key", "a+a=1"},
     {"0x2c in dictionary key",
      "a,a=1",
-     {Dictionary{{{"a", {Integer(1), {}}}}}},
+     {Dictionary(Dictionary::unique_keys, {{"a", {Integer(1), {}}}})},
      "a=1"},
     {"0x2d in dictionary key",
      "a-a=1",
-     {Dictionary{{{"a-a", {Integer(1), {}}}}}}},
+     {Dictionary(Dictionary::unique_keys, {{"a-a", {Integer(1), {}}}})}},
     {"0x2e in dictionary key",
      "a.a=1",
-     {Dictionary{{{"a.a", {Integer(1), {}}}}}}},
+     {Dictionary(Dictionary::unique_keys, {{"a.a", {Integer(1), {}}}})}},
     {"0x2f in dictionary key", "a/a=1"},
     {"0x30 in dictionary key",
      "a0a=1",
-     {Dictionary{{{"a0a", {Integer(1), {}}}}}}},
+     {Dictionary(Dictionary::unique_keys, {{"a0a", {Integer(1), {}}}})}},
     {"0x31 in dictionary key",
      "a1a=1",
-     {Dictionary{{{"a1a", {Integer(1), {}}}}}}},
+     {Dictionary(Dictionary::unique_keys, {{"a1a", {Integer(1), {}}}})}},
     {"0x32 in dictionary key",
      "a2a=1",
-     {Dictionary{{{"a2a", {Integer(1), {}}}}}}},
+     {Dictionary(Dictionary::unique_keys, {{"a2a", {Integer(1), {}}}})}},
     {"0x33 in dictionary key",
      "a3a=1",
-     {Dictionary{{{"a3a", {Integer(1), {}}}}}}},
+     {Dictionary(Dictionary::unique_keys, {{"a3a", {Integer(1), {}}}})}},
     {"0x34 in dictionary key",
      "a4a=1",
-     {Dictionary{{{"a4a", {Integer(1), {}}}}}}},
+     {Dictionary(Dictionary::unique_keys, {{"a4a", {Integer(1), {}}}})}},
     {"0x35 in dictionary key",
      "a5a=1",
-     {Dictionary{{{"a5a", {Integer(1), {}}}}}}},
+     {Dictionary(Dictionary::unique_keys, {{"a5a", {Integer(1), {}}}})}},
     {"0x36 in dictionary key",
      "a6a=1",
-     {Dictionary{{{"a6a", {Integer(1), {}}}}}}},
+     {Dictionary(Dictionary::unique_keys, {{"a6a", {Integer(1), {}}}})}},
     {"0x37 in dictionary key",
      "a7a=1",
-     {Dictionary{{{"a7a", {Integer(1), {}}}}}}},
+     {Dictionary(Dictionary::unique_keys, {{"a7a", {Integer(1), {}}}})}},
     {"0x38 in dictionary key",
      "a8a=1",
-     {Dictionary{{{"a8a", {Integer(1), {}}}}}}},
+     {Dictionary(Dictionary::unique_keys, {{"a8a", {Integer(1), {}}}})}},
     {"0x39 in dictionary key",
      "a9a=1",
-     {Dictionary{{{"a9a", {Integer(1), {}}}}}}},
+     {Dictionary(Dictionary::unique_keys, {{"a9a", {Integer(1), {}}}})}},
     {"0x3a in dictionary key", "a:a=1"},
     {"0x3b in dictionary key",
      "a;a=1",
-     {Dictionary{{{"a", {Item(true), {Param("a", 1)}}}}}}},
+     {Dictionary(Dictionary::unique_keys,
+                 {{"a", {Item(true), {Param("a", 1)}}}})}},
     {"0x3c in dictionary key", "a<a=1"},
     {"0x3d in dictionary key", "a=a=1"},
     {"0x3e in dictionary key", "a>a=1"},
@@ -5040,86 +5062,86 @@
     {"0x5e in dictionary key", "a^a=1"},
     {"0x5f in dictionary key",
      "a_a=1",
-     {Dictionary{{{"a_a", {Integer(1), {}}}}}}},
+     {Dictionary(Dictionary::unique_keys, {{"a_a", {Integer(1), {}}}})}},
     {"0x60 in dictionary key", "a`a=1"},
     {"0x61 in dictionary key",
      "aaa=1",
-     {Dictionary{{{"aaa", {Integer(1), {}}}}}}},
+     {Dictionary(Dictionary::unique_keys, {{"aaa", {Integer(1), {}}}})}},
     {"0x62 in dictionary key",
      "aba=1",
-     {Dictionary{{{"aba", {Integer(1), {}}}}}}},
+     {Dictionary(Dictionary::unique_keys, {{"aba", {Integer(1), {}}}})}},
     {"0x63 in dictionary key",
      "aca=1",
-     {Dictionary{{{"aca", {Integer(1), {}}}}}}},
+     {Dictionary(Dictionary::unique_keys, {{"aca", {Integer(1), {}}}})}},
     {"0x64 in dictionary key",
      "ada=1",
-     {Dictionary{{{"ada", {Integer(1), {}}}}}}},
+     {Dictionary(Dictionary::unique_keys, {{"ada", {Integer(1), {}}}})}},
     {"0x65 in dictionary key",
      "aea=1",
-     {Dictionary{{{"aea", {Integer(1), {}}}}}}},
+     {Dictionary(Dictionary::unique_keys, {{"aea", {Integer(1), {}}}})}},
     {"0x66 in dictionary key",
      "afa=1",
-     {Dictionary{{{"afa", {Integer(1), {}}}}}}},
+     {Dictionary(Dictionary::unique_keys, {{"afa", {Integer(1), {}}}})}},
     {"0x67 in dictionary key",
      "aga=1",
-     {Dictionary{{{"aga", {Integer(1), {}}}}}}},
+     {Dictionary(Dictionary::unique_keys, {{"aga", {Integer(1), {}}}})}},
     {"0x68 in dictionary key",
      "aha=1",
-     {Dictionary{{{"aha", {Integer(1), {}}}}}}},
+     {Dictionary(Dictionary::unique_keys, {{"aha", {Integer(1), {}}}})}},
     {"0x69 in dictionary key",
      "aia=1",
-     {Dictionary{{{"aia", {Integer(1), {}}}}}}},
+     {Dictionary(Dictionary::unique_keys, {{"aia", {Integer(1), {}}}})}},
     {"0x6a in dictionary key",
      "aja=1",
-     {Dictionary{{{"aja", {Integer(1), {}}}}}}},
+     {Dictionary(Dictionary::unique_keys, {{"aja", {Integer(1), {}}}})}},
     {"0x6b in dictionary key",
      "aka=1",
-     {Dictionary{{{"aka", {Integer(1), {}}}}}}},
+     {Dictionary(Dictionary::unique_keys, {{"aka", {Integer(1), {}}}})}},
     {"0x6c in dictionary key",
      "ala=1",
-     {Dictionary{{{"ala", {Integer(1), {}}}}}}},
+     {Dictionary(Dictionary::unique_keys, {{"ala", {Integer(1), {}}}})}},
     {"0x6d in dictionary key",
      "ama=1",
-     {Dictionary{{{"ama", {Integer(1), {}}}}}}},
+     {Dictionary(Dictionary::unique_keys, {{"ama", {Integer(1), {}}}})}},
     {"0x6e in dictionary key",
      "ana=1",
-     {Dictionary{{{"ana", {Integer(1), {}}}}}}},
+     {Dictionary(Dictionary::unique_keys, {{"ana", {Integer(1), {}}}})}},
     {"0x6f in dictionary key",
      "aoa=1",
-     {Dictionary{{{"aoa", {Integer(1), {}}}}}}},
+     {Dictionary(Dictionary::unique_keys, {{"aoa", {Integer(1), {}}}})}},
     {"0x70 in dictionary key",
      "apa=1",
-     {Dictionary{{{"apa", {Integer(1), {}}}}}}},
+     {Dictionary(Dictionary::unique_keys, {{"apa", {Integer(1), {}}}})}},
     {"0x71 in dictionary key",
      "aqa=1",
-     {Dictionary{{{"aqa", {Integer(1), {}}}}}}},
+     {Dictionary(Dictionary::unique_keys, {{"aqa", {Integer(1), {}}}})}},
     {"0x72 in dictionary key",
      "ara=1",
-     {Dictionary{{{"ara", {Integer(1), {}}}}}}},
+     {Dictionary(Dictionary::unique_keys, {{"ara", {Integer(1), {}}}})}},
     {"0x73 in dictionary key",
      "asa=1",
-     {Dictionary{{{"asa", {Integer(1), {}}}}}}},
+     {Dictionary(Dictionary::unique_keys, {{"asa", {Integer(1), {}}}})}},
     {"0x74 in dictionary key",
      "ata=1",
-     {Dictionary{{{"ata", {Integer(1), {}}}}}}},
+     {Dictionary(Dictionary::unique_keys, {{"ata", {Integer(1), {}}}})}},
     {"0x75 in dictionary key",
      "aua=1",
-     {Dictionary{{{"aua", {Integer(1), {}}}}}}},
+     {Dictionary(Dictionary::unique_keys, {{"aua", {Integer(1), {}}}})}},
     {"0x76 in dictionary key",
      "ava=1",
-     {Dictionary{{{"ava", {Integer(1), {}}}}}}},
+     {Dictionary(Dictionary::unique_keys, {{"ava", {Integer(1), {}}}})}},
     {"0x77 in dictionary key",
      "awa=1",
-     {Dictionary{{{"awa", {Integer(1), {}}}}}}},
+     {Dictionary(Dictionary::unique_keys, {{"awa", {Integer(1), {}}}})}},
     {"0x78 in dictionary key",
      "axa=1",
-     {Dictionary{{{"axa", {Integer(1), {}}}}}}},
+     {Dictionary(Dictionary::unique_keys, {{"axa", {Integer(1), {}}}})}},
     {"0x79 in dictionary key",
      "aya=1",
-     {Dictionary{{{"aya", {Integer(1), {}}}}}}},
+     {Dictionary(Dictionary::unique_keys, {{"aya", {Integer(1), {}}}})}},
     {"0x7a in dictionary key",
      "aza=1",
-     {Dictionary{{{"aza", {Integer(1), {}}}}}}},
+     {Dictionary(Dictionary::unique_keys, {{"aza", {Integer(1), {}}}})}},
     {"0x7b in dictionary key", "a{a=1"},
     {"0x7c in dictionary key", "a|a=1"},
     {"0x7d in dictionary key", "a}a=1"},
@@ -5159,7 +5181,7 @@
     {"0x1f starting a dictionary key", "\037a=1"},
     {"0x20 starting a dictionary key",
      " a=1",
-     {Dictionary{{{"a", {Integer(1), {}}}}}},
+     {Dictionary(Dictionary::unique_keys, {{"a", {Integer(1), {}}}})},
      "a=1"},
     {"0x21 starting a dictionary key", "!a=1"},
     {"0x22 starting a dictionary key", "\"a=1"},
@@ -5172,7 +5194,7 @@
     {"0x29 starting a dictionary key", ")a=1"},
     {"0x2a starting a dictionary key",
      "*a=1",
-     {Dictionary{{{"*a", {Integer(1), {}}}}}}},
+     {Dictionary(Dictionary::unique_keys, {{"*a", {Integer(1), {}}}})}},
     {"0x2b starting a dictionary key", "+a=1"},
     {"0x2c starting a dictionary key", ",a=1"},
     {"0x2d starting a dictionary key", "-a=1"},
@@ -5229,82 +5251,82 @@
     {"0x60 starting a dictionary key", "`a=1"},
     {"0x61 starting a dictionary key",
      "aa=1",
-     {Dictionary{{{"aa", {Integer(1), {}}}}}}},
+     {Dictionary(Dictionary::unique_keys, {{"aa", {Integer(1), {}}}})}},
     {"0x62 starting a dictionary key",
      "ba=1",
-     {Dictionary{{{"ba", {Integer(1), {}}}}}}},
+     {Dictionary(Dictionary::unique_keys, {{"ba", {Integer(1), {}}}})}},
     {"0x63 starting a dictionary key",
      "ca=1",
-     {Dictionary{{{"ca", {Integer(1), {}}}}}}},
+     {Dictionary(Dictionary::unique_keys, {{"ca", {Integer(1), {}}}})}},
     {"0x64 starting a dictionary key",
      "da=1",
-     {Dictionary{{{"da", {Integer(1), {}}}}}}},
+     {Dictionary(Dictionary::unique_keys, {{"da", {Integer(1), {}}}})}},
     {"0x65 starting a dictionary key",
      "ea=1",
-     {Dictionary{{{"ea", {Integer(1), {}}}}}}},
+     {Dictionary(Dictionary::unique_keys, {{"ea", {Integer(1), {}}}})}},
     {"0x66 starting a dictionary key",
      "fa=1",
-     {Dictionary{{{"fa", {Integer(1), {}}}}}}},
+     {Dictionary(Dictionary::unique_keys, {{"fa", {Integer(1), {}}}})}},
     {"0x67 starting a dictionary key",
      "ga=1",
-     {Dictionary{{{"ga", {Integer(1), {}}}}}}},
+     {Dictionary(Dictionary::unique_keys, {{"ga", {Integer(1), {}}}})}},
     {"0x68 starting a dictionary key",
      "ha=1",
-     {Dictionary{{{"ha", {Integer(1), {}}}}}}},
+     {Dictionary(Dictionary::unique_keys, {{"ha", {Integer(1), {}}}})}},
     {"0x69 starting a dictionary key",
      "ia=1",
-     {Dictionary{{{"ia", {Integer(1), {}}}}}}},
+     {Dictionary(Dictionary::unique_keys, {{"ia", {Integer(1), {}}}})}},
     {"0x6a starting a dictionary key",
      "ja=1",
-     {Dictionary{{{"ja", {Integer(1), {}}}}}}},
+     {Dictionary(Dictionary::unique_keys, {{"ja", {Integer(1), {}}}})}},
     {"0x6b starting a dictionary key",
      "ka=1",
-     {Dictionary{{{"ka", {Integer(1), {}}}}}}},
+     {Dictionary(Dictionary::unique_keys, {{"ka", {Integer(1), {}}}})}},
     {"0x6c starting a dictionary key",
      "la=1",
-     {Dictionary{{{"la", {Integer(1), {}}}}}}},
+     {Dictionary(Dictionary::unique_keys, {{"la", {Integer(1), {}}}})}},
     {"0x6d starting a dictionary key",
      "ma=1",
-     {Dictionary{{{"ma", {Integer(1), {}}}}}}},
+     {Dictionary(Dictionary::unique_keys, {{"ma", {Integer(1), {}}}})}},
     {"0x6e starting a dictionary key",
      "na=1",
-     {Dictionary{{{"na", {Integer(1), {}}}}}}},
+     {Dictionary(Dictionary::unique_keys, {{"na", {Integer(1), {}}}})}},
     {"0x6f starting a dictionary key",
      "oa=1",
-     {Dictionary{{{"oa", {Integer(1), {}}}}}}},
+     {Dictionary(Dictionary::unique_keys, {{"oa", {Integer(1), {}}}})}},
     {"0x70 starting a dictionary key",
      "pa=1",
-     {Dictionary{{{"pa", {Integer(1), {}}}}}}},
+     {Dictionary(Dictionary::unique_keys, {{"pa", {Integer(1), {}}}})}},
     {"0x71 starting a dictionary key",
      "qa=1",
-     {Dictionary{{{"qa", {Integer(1), {}}}}}}},
+     {Dictionary(Dictionary::unique_keys, {{"qa", {Integer(1), {}}}})}},
     {"0x72 starting a dictionary key",
      "ra=1",
-     {Dictionary{{{"ra", {Integer(1), {}}}}}}},
+     {Dictionary(Dictionary::unique_keys, {{"ra", {Integer(1), {}}}})}},
     {"0x73 starting a dictionary key",
      "sa=1",
-     {Dictionary{{{"sa", {Integer(1), {}}}}}}},
+     {Dictionary(Dictionary::unique_keys, {{"sa", {Integer(1), {}}}})}},
     {"0x74 starting a dictionary key",
      "ta=1",
-     {Dictionary{{{"ta", {Integer(1), {}}}}}}},
+     {Dictionary(Dictionary::unique_keys, {{"ta", {Integer(1), {}}}})}},
     {"0x75 starting a dictionary key",
      "ua=1",
-     {Dictionary{{{"ua", {Integer(1), {}}}}}}},
+     {Dictionary(Dictionary::unique_keys, {{"ua", {Integer(1), {}}}})}},
     {"0x76 starting a dictionary key",
      "va=1",
-     {Dictionary{{{"va", {Integer(1), {}}}}}}},
+     {Dictionary(Dictionary::unique_keys, {{"va", {Integer(1), {}}}})}},
     {"0x77 starting a dictionary key",
      "wa=1",
-     {Dictionary{{{"wa", {Integer(1), {}}}}}}},
+     {Dictionary(Dictionary::unique_keys, {{"wa", {Integer(1), {}}}})}},
     {"0x78 starting a dictionary key",
      "xa=1",
-     {Dictionary{{{"xa", {Integer(1), {}}}}}}},
+     {Dictionary(Dictionary::unique_keys, {{"xa", {Integer(1), {}}}})}},
     {"0x79 starting a dictionary key",
      "ya=1",
-     {Dictionary{{{"ya", {Integer(1), {}}}}}}},
+     {Dictionary(Dictionary::unique_keys, {{"ya", {Integer(1), {}}}})}},
     {"0x7a starting a dictionary key",
      "za=1",
-     {Dictionary{{{"za", {Integer(1), {}}}}}}},
+     {Dictionary(Dictionary::unique_keys, {{"za", {Integer(1), {}}}})}},
     {"0x7b starting a dictionary key", "{a=1"},
     {"0x7c starting a dictionary key", "|a=1"},
     {"0x7d starting a dictionary key", "}a=1"},
@@ -5425,7 +5447,8 @@
      "a1001=1, a1002=1, a1003=1, a1004=1, a1005=1, a1006=1, a1007=1, a1008=1, "
      "a1009=1, a1010=1, a1011=1, a1012=1, a1013=1, a1014=1, a1015=1, a1016=1, "
      "a1017=1, a1018=1, a1019=1, a1020=1, a1021=1, a1022=1, a1023=1",
-     {Dictionary{{{"a0", {Integer(1), {}}},    {"a1", {Integer(1), {}}},
+     {Dictionary(Dictionary::unique_keys,
+                 {{"a0", {Integer(1), {}}},    {"a1", {Integer(1), {}}},
                   {"a2", {Integer(1), {}}},    {"a3", {Integer(1), {}}},
                   {"a4", {Integer(1), {}}},    {"a5", {Integer(1), {}}},
                   {"a6", {Integer(1), {}}},    {"a7", {Integer(1), {}}},
@@ -5936,59 +5959,69 @@
                   {"a1016", {Integer(1), {}}}, {"a1017", {Integer(1), {}}},
                   {"a1018", {Integer(1), {}}}, {"a1019", {Integer(1), {}}},
                   {"a1020", {Integer(1), {}}}, {"a1021", {Integer(1), {}}},
-                  {"a1022", {Integer(1), {}}}, {"a1023", {Integer(1), {}}}}}}},
+                  {"a1022", {Integer(1), {}}}, {"a1023", {Integer(1), {}}}})}},
     {"large dictionary key",
      "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa=1",
-     {Dictionary{
+     {Dictionary(
+         Dictionary::unique_keys,
          {{"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
-           {Integer(1), {}}}}}}},
+           {Integer(1), {}}}})}},
     // param-dict.json
     {"basic parameterised dict",
      "abc=123;a=1;b=2, def=456, ghi=789;q=9;r=\"+w\"",
-     {Dictionary{
+     {Dictionary(
+         Dictionary::unique_keys,
          {{"abc", {Integer(123), {Param("a", 1), Param("b", 2)}}},
           {"def", {Integer(456), {}}},
-          {"ghi", {Integer(789), {Param("q", 9), Param("r", "+w")}}}}}}},
+          {"ghi", {Integer(789), {Param("q", 9), Param("r", "+w")}}}})}},
     {"single item parameterised dict",
      "a=b; q=1.0",
-     {Dictionary{{{"a", {Item(Item::token, "b"), {DoubleParam("q", 1.0)}}}}}},
+     {Dictionary(Dictionary::unique_keys,
+                 {{"a", {Item(Item::token, "b"), {DoubleParam("q", 1.0)}}}})},
      "a=b;q=1.0"},
     {"list item parameterised dictionary",
      "a=(1 2); q=1.0",
-     {Dictionary{
+     {Dictionary(
+         Dictionary::unique_keys,
          {{"a",
-           {{{Integer(1), {}}, {Integer(2), {}}}, {DoubleParam("q", 1.0)}}}}}},
+           {{{Integer(1), {}}, {Integer(2), {}}}, {DoubleParam("q", 1.0)}}}})},
      "a=(1 2);q=1.0"},
     {"missing parameter value parameterised dict",
      "a=3;c;d=5",
-     {Dictionary{
-         {{"a", {Integer(3), {BooleanParam("c", true), Param("d", 5)}}}}}}},
+     {Dictionary(
+         Dictionary::unique_keys,
+         {{"a", {Integer(3), {BooleanParam("c", true), Param("d", 5)}}}})}},
     {"terminal missing parameter value parameterised dict",
      "a=3;c=5;d",
-     {Dictionary{
-         {{"a", {Integer(3), {Param("c", 5), BooleanParam("d", true)}}}}}}},
+     {Dictionary(
+         Dictionary::unique_keys,
+         {{"a", {Integer(3), {Param("c", 5), BooleanParam("d", true)}}}})}},
     {"no whitespace parameterised dict",
      "a=b;c=1,d=e;f=2",
-     {Dictionary{{{"a", {Item(Item::token, "b"), {Param("c", 1)}}},
-                  {"d", {Item(Item::token, "e"), {Param("f", 2)}}}}}},
+     {Dictionary(Dictionary::unique_keys,
+                 {{"a", {Item(Item::token, "b"), {Param("c", 1)}}},
+                  {"d", {Item(Item::token, "e"), {Param("f", 2)}}}})},
      "a=b;c=1, d=e;f=2"},
     {"whitespace before = parameterised dict", "a=b;q =0.5"},
     {"whitespace after = parameterised dict", "a=b;q= 0.5"},
     {"whitespace before ; parameterised dict", "a=b ;q=0.5"},
     {"whitespace after ; parameterised dict",
      "a=b; q=0.5",
-     {Dictionary{{{"a", {Item(Item::token, "b"), {DoubleParam("q", 0.5)}}}}}},
+     {Dictionary(Dictionary::unique_keys,
+                 {{"a", {Item(Item::token, "b"), {DoubleParam("q", 0.5)}}}})},
      "a=b;q=0.5"},
     {"extra whitespace parameterised dict",
      "a=b;  c=1  ,  d=e; f=2; g=3",
-     {Dictionary{
+     {Dictionary(
+         Dictionary::unique_keys,
          {{"a", {Item(Item::token, "b"), {Param("c", 1)}}},
-          {"d", {Item(Item::token, "e"), {Param("f", 2), Param("g", 3)}}}}}},
+          {"d", {Item(Item::token, "e"), {Param("f", 2), Param("g", 3)}}}})},
      "a=b;c=1, d=e;f=2;g=3"},
     {"two lines parameterised list",
      "a=b;c=1, d=e;f=2",
-     {Dictionary{{{"a", {Item(Item::token, "b"), {Param("c", 1)}}},
-                  {"d", {Item(Item::token, "e"), {Param("f", 2)}}}}}},
+     {Dictionary(Dictionary::unique_keys,
+                 {{"a", {Item(Item::token, "b"), {Param("c", 1)}}},
+                  {"d", {Item(Item::token, "e"), {Param("f", 2)}}}})},
      "a=b;c=1, d=e;f=2"},
     {"trailing comma parameterised list", "a=b; q=1.0,"},
     {"empty item parameterised list", "a=b; q=1.0,,c=d"},
@@ -6623,385 +6656,387 @@
 } serialization_only_dictionary_test_cases[] = {
     // serialisation-tests/key-generated.json
     {"0x00 in dictionary key - serialise only",
-     Dictionary{{{std::string("a\000a", 3), {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys,
+                {{std::string("a\000a", 3), {Integer(1), {}}}})},
     {"0x01 in dictionary key - serialise only",
-     Dictionary{{{"a\001a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"a\001a", {Integer(1), {}}}})},
     {"0x02 in dictionary key - serialise only",
-     Dictionary{{{"a\002a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"a\002a", {Integer(1), {}}}})},
     {"0x03 in dictionary key - serialise only",
-     Dictionary{{{"a\003a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"a\003a", {Integer(1), {}}}})},
     {"0x04 in dictionary key - serialise only",
-     Dictionary{{{"a\004a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"a\004a", {Integer(1), {}}}})},
     {"0x05 in dictionary key - serialise only",
-     Dictionary{{{"a\005a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"a\005a", {Integer(1), {}}}})},
     {"0x06 in dictionary key - serialise only",
-     Dictionary{{{"a\006a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"a\006a", {Integer(1), {}}}})},
     {"0x07 in dictionary key - serialise only",
-     Dictionary{{{"a\007a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"a\007a", {Integer(1), {}}}})},
     {"0x08 in dictionary key - serialise only",
-     Dictionary{{{"a\010a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"a\010a", {Integer(1), {}}}})},
     {"0x09 in dictionary key - serialise only",
-     Dictionary{{{"a\ta", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"a\ta", {Integer(1), {}}}})},
     {"0x0a in dictionary key - serialise only",
-     Dictionary{{{"a\na", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"a\na", {Integer(1), {}}}})},
     {"0x0b in dictionary key - serialise only",
-     Dictionary{{{"a\013a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"a\013a", {Integer(1), {}}}})},
     {"0x0c in dictionary key - serialise only",
-     Dictionary{{{"a\014a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"a\014a", {Integer(1), {}}}})},
     {"0x0d in dictionary key - serialise only",
-     Dictionary{{{"a\ra", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"a\ra", {Integer(1), {}}}})},
     {"0x0e in dictionary key - serialise only",
-     Dictionary{{{"a\016a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"a\016a", {Integer(1), {}}}})},
     {"0x0f in dictionary key - serialise only",
-     Dictionary{{{"a\017a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"a\017a", {Integer(1), {}}}})},
     {"0x10 in dictionary key - serialise only",
-     Dictionary{{{"a\020a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"a\020a", {Integer(1), {}}}})},
     {"0x11 in dictionary key - serialise only",
-     Dictionary{{{"a\021a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"a\021a", {Integer(1), {}}}})},
     {"0x12 in dictionary key - serialise only",
-     Dictionary{{{"a\022a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"a\022a", {Integer(1), {}}}})},
     {"0x13 in dictionary key - serialise only",
-     Dictionary{{{"a\023a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"a\023a", {Integer(1), {}}}})},
     {"0x14 in dictionary key - serialise only",
-     Dictionary{{{"a\024a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"a\024a", {Integer(1), {}}}})},
     {"0x15 in dictionary key - serialise only",
-     Dictionary{{{"a\025a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"a\025a", {Integer(1), {}}}})},
     {"0x16 in dictionary key - serialise only",
-     Dictionary{{{"a\026a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"a\026a", {Integer(1), {}}}})},
     {"0x17 in dictionary key - serialise only",
-     Dictionary{{{"a\027a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"a\027a", {Integer(1), {}}}})},
     {"0x18 in dictionary key - serialise only",
-     Dictionary{{{"a\030a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"a\030a", {Integer(1), {}}}})},
     {"0x19 in dictionary key - serialise only",
-     Dictionary{{{"a\031a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"a\031a", {Integer(1), {}}}})},
     {"0x1a in dictionary key - serialise only",
-     Dictionary{{{"a\032a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"a\032a", {Integer(1), {}}}})},
     {"0x1b in dictionary key - serialise only",
-     Dictionary{{{"a\033a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"a\033a", {Integer(1), {}}}})},
     {"0x1c in dictionary key - serialise only",
-     Dictionary{{{"a\034a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"a\034a", {Integer(1), {}}}})},
     {"0x1d in dictionary key - serialise only",
-     Dictionary{{{"a\035a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"a\035a", {Integer(1), {}}}})},
     {"0x1e in dictionary key - serialise only",
-     Dictionary{{{"a\036a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"a\036a", {Integer(1), {}}}})},
     {"0x1f in dictionary key - serialise only",
-     Dictionary{{{"a\037a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"a\037a", {Integer(1), {}}}})},
     {"0x20 in dictionary key - serialise only",
-     Dictionary{{{"a a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"a a", {Integer(1), {}}}})},
     {"0x21 in dictionary key - serialise only",
-     Dictionary{{{"a!a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"a!a", {Integer(1), {}}}})},
     {"0x22 in dictionary key - serialise only",
-     Dictionary{{{"a\"a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"a\"a", {Integer(1), {}}}})},
     {"0x23 in dictionary key - serialise only",
-     Dictionary{{{"a#a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"a#a", {Integer(1), {}}}})},
     {"0x24 in dictionary key - serialise only",
-     Dictionary{{{"a$a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"a$a", {Integer(1), {}}}})},
     {"0x25 in dictionary key - serialise only",
-     Dictionary{{{"a%a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"a%a", {Integer(1), {}}}})},
     {"0x26 in dictionary key - serialise only",
-     Dictionary{{{"a&a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"a&a", {Integer(1), {}}}})},
     {"0x27 in dictionary key - serialise only",
-     Dictionary{{{"a'a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"a'a", {Integer(1), {}}}})},
     {"0x28 in dictionary key - serialise only",
-     Dictionary{{{"a(a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"a(a", {Integer(1), {}}}})},
     {"0x29 in dictionary key - serialise only",
-     Dictionary{{{"a)a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"a)a", {Integer(1), {}}}})},
     {"0x2b in dictionary key - serialise only",
-     Dictionary{{{"a+a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"a+a", {Integer(1), {}}}})},
     {"0x2c in dictionary key - serialise only",
-     Dictionary{{{"a,a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"a,a", {Integer(1), {}}}})},
     {"0x2f in dictionary key - serialise only",
-     Dictionary{{{"a/a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"a/a", {Integer(1), {}}}})},
     {"0x3a in dictionary key - serialise only",
-     Dictionary{{{"a:a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"a:a", {Integer(1), {}}}})},
     {"0x3b in dictionary key - serialise only",
-     Dictionary{{{"a;a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"a;a", {Integer(1), {}}}})},
     {"0x3c in dictionary key - serialise only",
-     Dictionary{{{"a<a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"a<a", {Integer(1), {}}}})},
     {"0x3d in dictionary key - serialise only",
-     Dictionary{{{"a=a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"a=a", {Integer(1), {}}}})},
     {"0x3e in dictionary key - serialise only",
-     Dictionary{{{"a>a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"a>a", {Integer(1), {}}}})},
     {"0x3f in dictionary key - serialise only",
-     Dictionary{{{"a?a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"a?a", {Integer(1), {}}}})},
     {"0x40 in dictionary key - serialise only",
-     Dictionary{{{"a@a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"a@a", {Integer(1), {}}}})},
     {"0x41 in dictionary key - serialise only",
-     Dictionary{{{"aAa", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"aAa", {Integer(1), {}}}})},
     {"0x42 in dictionary key - serialise only",
-     Dictionary{{{"aBa", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"aBa", {Integer(1), {}}}})},
     {"0x43 in dictionary key - serialise only",
-     Dictionary{{{"aCa", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"aCa", {Integer(1), {}}}})},
     {"0x44 in dictionary key - serialise only",
-     Dictionary{{{"aDa", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"aDa", {Integer(1), {}}}})},
     {"0x45 in dictionary key - serialise only",
-     Dictionary{{{"aEa", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"aEa", {Integer(1), {}}}})},
     {"0x46 in dictionary key - serialise only",
-     Dictionary{{{"aFa", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"aFa", {Integer(1), {}}}})},
     {"0x47 in dictionary key - serialise only",
-     Dictionary{{{"aGa", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"aGa", {Integer(1), {}}}})},
     {"0x48 in dictionary key - serialise only",
-     Dictionary{{{"aHa", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"aHa", {Integer(1), {}}}})},
     {"0x49 in dictionary key - serialise only",
-     Dictionary{{{"aIa", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"aIa", {Integer(1), {}}}})},
     {"0x4a in dictionary key - serialise only",
-     Dictionary{{{"aJa", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"aJa", {Integer(1), {}}}})},
     {"0x4b in dictionary key - serialise only",
-     Dictionary{{{"aKa", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"aKa", {Integer(1), {}}}})},
     {"0x4c in dictionary key - serialise only",
-     Dictionary{{{"aLa", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"aLa", {Integer(1), {}}}})},
     {"0x4d in dictionary key - serialise only",
-     Dictionary{{{"aMa", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"aMa", {Integer(1), {}}}})},
     {"0x4e in dictionary key - serialise only",
-     Dictionary{{{"aNa", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"aNa", {Integer(1), {}}}})},
     {"0x4f in dictionary key - serialise only",
-     Dictionary{{{"aOa", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"aOa", {Integer(1), {}}}})},
     {"0x50 in dictionary key - serialise only",
-     Dictionary{{{"aPa", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"aPa", {Integer(1), {}}}})},
     {"0x51 in dictionary key - serialise only",
-     Dictionary{{{"aQa", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"aQa", {Integer(1), {}}}})},
     {"0x52 in dictionary key - serialise only",
-     Dictionary{{{"aRa", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"aRa", {Integer(1), {}}}})},
     {"0x53 in dictionary key - serialise only",
-     Dictionary{{{"aSa", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"aSa", {Integer(1), {}}}})},
     {"0x54 in dictionary key - serialise only",
-     Dictionary{{{"aTa", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"aTa", {Integer(1), {}}}})},
     {"0x55 in dictionary key - serialise only",
-     Dictionary{{{"aUa", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"aUa", {Integer(1), {}}}})},
     {"0x56 in dictionary key - serialise only",
-     Dictionary{{{"aVa", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"aVa", {Integer(1), {}}}})},
     {"0x57 in dictionary key - serialise only",
-     Dictionary{{{"aWa", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"aWa", {Integer(1), {}}}})},
     {"0x58 in dictionary key - serialise only",
-     Dictionary{{{"aXa", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"aXa", {Integer(1), {}}}})},
     {"0x59 in dictionary key - serialise only",
-     Dictionary{{{"aYa", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"aYa", {Integer(1), {}}}})},
     {"0x5a in dictionary key - serialise only",
-     Dictionary{{{"aZa", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"aZa", {Integer(1), {}}}})},
     {"0x5b in dictionary key - serialise only",
-     Dictionary{{{"a[a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"a[a", {Integer(1), {}}}})},
     {"0x5c in dictionary key - serialise only",
-     Dictionary{{{"a\\a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"a\\a", {Integer(1), {}}}})},
     {"0x5d in dictionary key - serialise only",
-     Dictionary{{{"a]a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"a]a", {Integer(1), {}}}})},
     {"0x5e in dictionary key - serialise only",
-     Dictionary{{{"a^a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"a^a", {Integer(1), {}}}})},
     {"0x60 in dictionary key - serialise only",
-     Dictionary{{{"a`a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"a`a", {Integer(1), {}}}})},
     {"0x7b in dictionary key - serialise only",
-     Dictionary{{{"a{a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"a{a", {Integer(1), {}}}})},
     {"0x7c in dictionary key - serialise only",
-     Dictionary{{{"a|a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"a|a", {Integer(1), {}}}})},
     {"0x7d in dictionary key - serialise only",
-     Dictionary{{{"a}a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"a}a", {Integer(1), {}}}})},
     {"0x7e in dictionary key - serialise only",
-     Dictionary{{{"a~a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"a~a", {Integer(1), {}}}})},
     {"0x7f in dictionary key - serialise only",
-     Dictionary{{{"a\177a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"a\177a", {Integer(1), {}}}})},
     {"0x00 starting a dictionary key - serialise only",
-     Dictionary{{{std::string("\000a", 2), {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys,
+                {{std::string("\000a", 2), {Integer(1), {}}}})},
     {"0x01 starting a dictionary key - serialise only",
-     Dictionary{{{"\001a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"\001a", {Integer(1), {}}}})},
     {"0x02 starting a dictionary key - serialise only",
-     Dictionary{{{"\002a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"\002a", {Integer(1), {}}}})},
     {"0x03 starting a dictionary key - serialise only",
-     Dictionary{{{"\003a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"\003a", {Integer(1), {}}}})},
     {"0x04 starting a dictionary key - serialise only",
-     Dictionary{{{"\004a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"\004a", {Integer(1), {}}}})},
     {"0x05 starting a dictionary key - serialise only",
-     Dictionary{{{"\005a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"\005a", {Integer(1), {}}}})},
     {"0x06 starting a dictionary key - serialise only",
-     Dictionary{{{"\006a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"\006a", {Integer(1), {}}}})},
     {"0x07 starting a dictionary key - serialise only",
-     Dictionary{{{"\007a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"\007a", {Integer(1), {}}}})},
     {"0x08 starting a dictionary key - serialise only",
-     Dictionary{{{"\010a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"\010a", {Integer(1), {}}}})},
     {"0x09 starting a dictionary key - serialise only",
-     Dictionary{{{"\ta", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"\ta", {Integer(1), {}}}})},
     {"0x0a starting a dictionary key - serialise only",
-     Dictionary{{{"\na", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"\na", {Integer(1), {}}}})},
     {"0x0b starting a dictionary key - serialise only",
-     Dictionary{{{"\013a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"\013a", {Integer(1), {}}}})},
     {"0x0c starting a dictionary key - serialise only",
-     Dictionary{{{"\014a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"\014a", {Integer(1), {}}}})},
     {"0x0d starting a dictionary key - serialise only",
-     Dictionary{{{"\ra", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"\ra", {Integer(1), {}}}})},
     {"0x0e starting a dictionary key - serialise only",
-     Dictionary{{{"\016a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"\016a", {Integer(1), {}}}})},
     {"0x0f starting a dictionary key - serialise only",
-     Dictionary{{{"\017a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"\017a", {Integer(1), {}}}})},
     {"0x10 starting a dictionary key - serialise only",
-     Dictionary{{{"\020a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"\020a", {Integer(1), {}}}})},
     {"0x11 starting a dictionary key - serialise only",
-     Dictionary{{{"\021a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"\021a", {Integer(1), {}}}})},
     {"0x12 starting a dictionary key - serialise only",
-     Dictionary{{{"\022a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"\022a", {Integer(1), {}}}})},
     {"0x13 starting a dictionary key - serialise only",
-     Dictionary{{{"\023a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"\023a", {Integer(1), {}}}})},
     {"0x14 starting a dictionary key - serialise only",
-     Dictionary{{{"\024a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"\024a", {Integer(1), {}}}})},
     {"0x15 starting a dictionary key - serialise only",
-     Dictionary{{{"\025a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"\025a", {Integer(1), {}}}})},
     {"0x16 starting a dictionary key - serialise only",
-     Dictionary{{{"\026a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"\026a", {Integer(1), {}}}})},
     {"0x17 starting a dictionary key - serialise only",
-     Dictionary{{{"\027a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"\027a", {Integer(1), {}}}})},
     {"0x18 starting a dictionary key - serialise only",
-     Dictionary{{{"\030a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"\030a", {Integer(1), {}}}})},
     {"0x19 starting a dictionary key - serialise only",
-     Dictionary{{{"\031a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"\031a", {Integer(1), {}}}})},
     {"0x1a starting a dictionary key - serialise only",
-     Dictionary{{{"\032a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"\032a", {Integer(1), {}}}})},
     {"0x1b starting a dictionary key - serialise only",
-     Dictionary{{{"\033a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"\033a", {Integer(1), {}}}})},
     {"0x1c starting a dictionary key - serialise only",
-     Dictionary{{{"\034a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"\034a", {Integer(1), {}}}})},
     {"0x1d starting a dictionary key - serialise only",
-     Dictionary{{{"\035a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"\035a", {Integer(1), {}}}})},
     {"0x1e starting a dictionary key - serialise only",
-     Dictionary{{{"\036a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"\036a", {Integer(1), {}}}})},
     {"0x1f starting a dictionary key - serialise only",
-     Dictionary{{{"\037a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"\037a", {Integer(1), {}}}})},
     {"0x20 starting a dictionary key - serialise only",
-     Dictionary{{{" a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{" a", {Integer(1), {}}}})},
     {"0x21 starting a dictionary key - serialise only",
-     Dictionary{{{"!a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"!a", {Integer(1), {}}}})},
     {"0x22 starting a dictionary key - serialise only",
-     Dictionary{{{"\"a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"\"a", {Integer(1), {}}}})},
     {"0x23 starting a dictionary key - serialise only",
-     Dictionary{{{"#a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"#a", {Integer(1), {}}}})},
     {"0x24 starting a dictionary key - serialise only",
-     Dictionary{{{"$a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"$a", {Integer(1), {}}}})},
     {"0x25 starting a dictionary key - serialise only",
-     Dictionary{{{"%a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"%a", {Integer(1), {}}}})},
     {"0x26 starting a dictionary key - serialise only",
-     Dictionary{{{"&a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"&a", {Integer(1), {}}}})},
     {"0x27 starting a dictionary key - serialise only",
-     Dictionary{{{"'a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"'a", {Integer(1), {}}}})},
     {"0x28 starting a dictionary key - serialise only",
-     Dictionary{{{"(a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"(a", {Integer(1), {}}}})},
     {"0x29 starting a dictionary key - serialise only",
-     Dictionary{{{")a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{")a", {Integer(1), {}}}})},
     {"0x2b starting a dictionary key - serialise only",
-     Dictionary{{{"+a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"+a", {Integer(1), {}}}})},
     {"0x2c starting a dictionary key - serialise only",
-     Dictionary{{{",a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{",a", {Integer(1), {}}}})},
     {"0x2d starting a dictionary key - serialise only",
-     Dictionary{{{"-a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"-a", {Integer(1), {}}}})},
     {"0x2e starting a dictionary key - serialise only",
-     Dictionary{{{".a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{".a", {Integer(1), {}}}})},
     {"0x2f starting a dictionary key - serialise only",
-     Dictionary{{{"/a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"/a", {Integer(1), {}}}})},
     {"0x30 starting a dictionary key - serialise only",
-     Dictionary{{{"0a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"0a", {Integer(1), {}}}})},
     {"0x31 starting a dictionary key - serialise only",
-     Dictionary{{{"1a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"1a", {Integer(1), {}}}})},
     {"0x32 starting a dictionary key - serialise only",
-     Dictionary{{{"2a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"2a", {Integer(1), {}}}})},
     {"0x33 starting a dictionary key - serialise only",
-     Dictionary{{{"3a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"3a", {Integer(1), {}}}})},
     {"0x34 starting a dictionary key - serialise only",
-     Dictionary{{{"4a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"4a", {Integer(1), {}}}})},
     {"0x35 starting a dictionary key - serialise only",
-     Dictionary{{{"5a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"5a", {Integer(1), {}}}})},
     {"0x36 starting a dictionary key - serialise only",
-     Dictionary{{{"6a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"6a", {Integer(1), {}}}})},
     {"0x37 starting a dictionary key - serialise only",
-     Dictionary{{{"7a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"7a", {Integer(1), {}}}})},
     {"0x38 starting a dictionary key - serialise only",
-     Dictionary{{{"8a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"8a", {Integer(1), {}}}})},
     {"0x39 starting a dictionary key - serialise only",
-     Dictionary{{{"9a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"9a", {Integer(1), {}}}})},
     {"0x3a starting a dictionary key - serialise only",
-     Dictionary{{{":a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{":a", {Integer(1), {}}}})},
     {"0x3b starting a dictionary key - serialise only",
-     Dictionary{{{";a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{";a", {Integer(1), {}}}})},
     {"0x3c starting a dictionary key - serialise only",
-     Dictionary{{{"<a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"<a", {Integer(1), {}}}})},
     {"0x3d starting a dictionary key - serialise only",
-     Dictionary{{{"=a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"=a", {Integer(1), {}}}})},
     {"0x3e starting a dictionary key - serialise only",
-     Dictionary{{{">a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{">a", {Integer(1), {}}}})},
     {"0x3f starting a dictionary key - serialise only",
-     Dictionary{{{"?a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"?a", {Integer(1), {}}}})},
     {"0x40 starting a dictionary key - serialise only",
-     Dictionary{{{"@a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"@a", {Integer(1), {}}}})},
     {"0x41 starting a dictionary key - serialise only",
-     Dictionary{{{"Aa", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"Aa", {Integer(1), {}}}})},
     {"0x42 starting a dictionary key - serialise only",
-     Dictionary{{{"Ba", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"Ba", {Integer(1), {}}}})},
     {"0x43 starting a dictionary key - serialise only",
-     Dictionary{{{"Ca", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"Ca", {Integer(1), {}}}})},
     {"0x44 starting a dictionary key - serialise only",
-     Dictionary{{{"Da", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"Da", {Integer(1), {}}}})},
     {"0x45 starting a dictionary key - serialise only",
-     Dictionary{{{"Ea", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"Ea", {Integer(1), {}}}})},
     {"0x46 starting a dictionary key - serialise only",
-     Dictionary{{{"Fa", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"Fa", {Integer(1), {}}}})},
     {"0x47 starting a dictionary key - serialise only",
-     Dictionary{{{"Ga", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"Ga", {Integer(1), {}}}})},
     {"0x48 starting a dictionary key - serialise only",
-     Dictionary{{{"Ha", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"Ha", {Integer(1), {}}}})},
     {"0x49 starting a dictionary key - serialise only",
-     Dictionary{{{"Ia", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"Ia", {Integer(1), {}}}})},
     {"0x4a starting a dictionary key - serialise only",
-     Dictionary{{{"Ja", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"Ja", {Integer(1), {}}}})},
     {"0x4b starting a dictionary key - serialise only",
-     Dictionary{{{"Ka", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"Ka", {Integer(1), {}}}})},
     {"0x4c starting a dictionary key - serialise only",
-     Dictionary{{{"La", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"La", {Integer(1), {}}}})},
     {"0x4d starting a dictionary key - serialise only",
-     Dictionary{{{"Ma", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"Ma", {Integer(1), {}}}})},
     {"0x4e starting a dictionary key - serialise only",
-     Dictionary{{{"Na", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"Na", {Integer(1), {}}}})},
     {"0x4f starting a dictionary key - serialise only",
-     Dictionary{{{"Oa", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"Oa", {Integer(1), {}}}})},
     {"0x50 starting a dictionary key - serialise only",
-     Dictionary{{{"Pa", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"Pa", {Integer(1), {}}}})},
     {"0x51 starting a dictionary key - serialise only",
-     Dictionary{{{"Qa", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"Qa", {Integer(1), {}}}})},
     {"0x52 starting a dictionary key - serialise only",
-     Dictionary{{{"Ra", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"Ra", {Integer(1), {}}}})},
     {"0x53 starting a dictionary key - serialise only",
-     Dictionary{{{"Sa", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"Sa", {Integer(1), {}}}})},
     {"0x54 starting a dictionary key - serialise only",
-     Dictionary{{{"Ta", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"Ta", {Integer(1), {}}}})},
     {"0x55 starting a dictionary key - serialise only",
-     Dictionary{{{"Ua", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"Ua", {Integer(1), {}}}})},
     {"0x56 starting a dictionary key - serialise only",
-     Dictionary{{{"Va", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"Va", {Integer(1), {}}}})},
     {"0x57 starting a dictionary key - serialise only",
-     Dictionary{{{"Wa", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"Wa", {Integer(1), {}}}})},
     {"0x58 starting a dictionary key - serialise only",
-     Dictionary{{{"Xa", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"Xa", {Integer(1), {}}}})},
     {"0x59 starting a dictionary key - serialise only",
-     Dictionary{{{"Ya", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"Ya", {Integer(1), {}}}})},
     {"0x5a starting a dictionary key - serialise only",
-     Dictionary{{{"Za", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"Za", {Integer(1), {}}}})},
     {"0x5b starting a dictionary key - serialise only",
-     Dictionary{{{"[a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"[a", {Integer(1), {}}}})},
     {"0x5c starting a dictionary key - serialise only",
-     Dictionary{{{"\\a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"\\a", {Integer(1), {}}}})},
     {"0x5d starting a dictionary key - serialise only",
-     Dictionary{{{"]a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"]a", {Integer(1), {}}}})},
     {"0x5e starting a dictionary key - serialise only",
-     Dictionary{{{"^a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"^a", {Integer(1), {}}}})},
     {"0x5f starting a dictionary key - serialise only",
-     Dictionary{{{"_a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"_a", {Integer(1), {}}}})},
     {"0x60 starting a dictionary key - serialise only",
-     Dictionary{{{"`a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"`a", {Integer(1), {}}}})},
     {"0x7b starting a dictionary key - serialise only",
-     Dictionary{{{"{a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"{a", {Integer(1), {}}}})},
     {"0x7c starting a dictionary key - serialise only",
-     Dictionary{{{"|a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"|a", {Integer(1), {}}}})},
     {"0x7d starting a dictionary key - serialise only",
-     Dictionary{{{"}a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"}a", {Integer(1), {}}}})},
     {"0x7e starting a dictionary key - serialise only",
-     Dictionary{{{"~a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"~a", {Integer(1), {}}}})},
     {"0x7f starting a dictionary key - serialise only",
-     Dictionary{{{"\177a", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"\177a", {Integer(1), {}}}})},
     {"empty dictionary key - serialise only",
-     Dictionary{{{"", {Integer(1), {}}}}}},
+     Dictionary(Dictionary::unique_keys, {{"", {Integer(1), {}}}})},
 };
 
 }  // namespace
diff --git a/quiche/common/structured_headers_test.cc b/quiche/common/structured_headers_test.cc
index 9dc4cf8..5d54384 100644
--- a/quiche/common/structured_headers_test.cc
+++ b/quiche/common/structured_headers_test.cc
@@ -259,39 +259,46 @@
 } dictionary_test_cases[] = {
     {"basic dictionary",
      "en=\"Applepie\", da=:aGVsbG8=:",
-     {Dictionary{{{"en", {Item(Item::string, "Applepie"), {}}},
-                  {"da", {Item(Item::byte_sequence, "hello"), {}}}}}},
+     {Dictionary(Dictionary::unique_keys,
+                 {{"en", {Item(Item::string, "Applepie"), {}}},
+                  {"da", {Item(Item::byte_sequence, "hello"), {}}}})},
      nullptr},
     {"tab separated dictionary",
      "a=1\t,\tb=2",
-     {Dictionary{{{"a", {Integer(1L), {}}}, {"b", {Integer(2L), {}}}}}},
+     {Dictionary(Dictionary::unique_keys,
+                 {{"a", {Integer(1L), {}}}, {"b", {Integer(2L), {}}}})},
      "a=1, b=2"},
     {"missing value with params dictionary",
      "a=1, b;foo=9, c=3",
-     {Dictionary{{{"a", {Integer(1L), {}}},
+     {Dictionary(Dictionary::unique_keys,
+                 {{"a", {Integer(1L), {}}},
                   {"b", {Item(true), {Param("foo", 9)}}},
-                  {"c", {Integer(3L), {}}}}}},
+                  {"c", {Integer(3L), {}}}})},
      nullptr},
     // Parameterised dictionary tests
     {"parameterised inner list member dict",
      "a=(\"1\";b=1;c=?0 \"2\");d=\"e\"",
-     {Dictionary{{{"a",
+     {Dictionary(Dictionary::unique_keys,
+                 {{"a",
                    {{{Item(Item::string, "1"),
                       {Param("b", 1), BooleanParam("c", false)}},
                      {Item(Item::string, "2"), {}}},
-                    {Param("d", "e")}}}}}},
+                    {Param("d", "e")}}}})},
      nullptr},
     {"explicit true value with parameter",
      "a=?1;b=1",
-     {Dictionary{{{"a", {Item(true), {Param("b", 1)}}}}}},
+     {Dictionary(Dictionary::unique_keys,
+                 {{"a", {Item(true), {Param("b", 1)}}}})},
      "a;b=1"},
     {"implicit true value with parameter",
      "a;b=1",
-     {Dictionary{{{"a", {Item(true), {Param("b", 1)}}}}}},
+     {Dictionary(Dictionary::unique_keys,
+                 {{"a", {Item(true), {Param("b", 1)}}}})},
      nullptr},
     {"implicit true value with implicitly-valued parameter",
      "a;b",
-     {Dictionary{{{"a", {Item(true), {BooleanParam("b", true)}}}}}},
+     {Dictionary(Dictionary::unique_keys,
+                 {{"a", {Item(true), {BooleanParam("b", true)}}}})},
      nullptr},
 };
 }  // namespace
@@ -740,7 +747,7 @@
   const std::string key0 = "key0";
   const ParameterizedMember member0(Item(Item::string, "Applepie"));
 
-  Dictionary dict({{key0, member0}});
+  Dictionary dict(Dictionary::unique_keys, {{key0, member0}});
   EXPECT_EQ(1U, dict.size());
   EXPECT_FALSE(dict.empty());
   EXPECT_TRUE(dict.contains(key0));
@@ -760,7 +767,7 @@
       Item(Item::byte_sequence, "hello"));
   const ParameterizedMember empty_member;
 
-  Dictionary dict{{{key0, nonempty_member0}}};
+  Dictionary dict(Dictionary::unique_keys, {{key0, nonempty_member0}});
   EXPECT_TRUE(dict.contains(key0));
   EXPECT_EQ(nonempty_member0, dict[key0]);
   EXPECT_EQ(&dict[key0], &dict.at(key0));
@@ -805,18 +812,22 @@
     const Dictionary value;
   } bad_dictionaries[] = {
       {"Default-constructed member",
-       Dictionary{{{"abc", ParameterizedMember()}}}},
-      {"Unserializable dict key", Dictionary{{{"ABC", {Token("abc"), {}}}}}},
+       Dictionary(Dictionary::unique_keys, {{"abc", ParameterizedMember()}})},
+      {"Unserializable dict key",
+       Dictionary(Dictionary::unique_keys, {{"ABC", {Token("abc"), {}}}})},
       {"Dictionary item is unserializable",
-       Dictionary{{{"abc", {Token("abc="), {}}}}}},
+       Dictionary(Dictionary::unique_keys, {{"abc", {Token("abc="), {}}}})},
       {"Param value is null",
-       Dictionary{{{"abc", {Token("abc"), {NullParam("a")}}}}}},
+       Dictionary(Dictionary::unique_keys,
+                  {{"abc", {Token("abc"), {NullParam("a")}}}})},
       {"Param value is unserializable",
-       Dictionary{{{"abc", {Token("abc"), {{"a", Token("\n")}}}}}}},
+       Dictionary(Dictionary::unique_keys,
+                  {{"abc", {Token("abc"), {{"a", Token("\n")}}}}})},
       {"Dictionary inner-list contains unserializable item",
-       Dictionary{
+       Dictionary(
+           Dictionary::unique_keys,
            {{"abc",
-             {std::vector<ParameterizedItem>{{Token("abc="), {}}}, {}}}}}},
+             {std::vector<ParameterizedItem>{{Token("abc="), {}}}, {}}}})},
   };
   for (const auto& bad_dictionary : bad_dictionaries) {
     SCOPED_TRACE(bad_dictionary.name);