anchor.diff:  decode_2i([Index|Rest], Acc) ->
       IndexName = kvc:path("IndexName", Index),
       KeySchema = decode_2i_key_schema(kvc:path("KeySchema", Index), []),
  -    Projection = [{non_key_attributes, kvc:path("Projection.NonKeyAttributes", Index)},
  -                  {projection_type, kvc:path("Projection.ProjectionType", Index)}],
  -
  -    IndexResult = [{IndexName,
  -             [{key_schema, KeySchema},
  -              {projection, Projection}]}],
  +    Projection = [{<<"NonKeyAttributes">>, kvc:path("Projection.NonKeyAttributes", Index)},
  +                  {<<"ProjectionType">>, kvc:path("Projection.ProjectionType", Index)}],
  +
  +    IndexResult = [
  +        {<<"IndexName">>, IndexName},
  +        {<<"KeySchema">>, KeySchema},
  +        {<<"Projection">>, Projection}],
  +
       decode_2i(Rest, [IndexResult|Acc]).
   
   
  
positive.code:                     [{<<"AttributeName">>, <<"Id">>}, {<<"KeyType">>, <<"HASH">>}],
                      [{<<"AttributeName">>, <<"Date">>}, {<<"KeyType">>, <<"RANGE">>}]
                  ]},
                  {lsi, [[{<<"2i_name">>,
                          [{key_schema, [
                              [{<<"AttributeName">>, <<"attr_name">>}, {<<"KeyType">>, <<"key_type">>}]
                          ]},
                          {projection, [{non_key_attributes, [<<"attr_name">>]},
                                        {projection_type, <<"projection_type">>}]}]
                  }]]},
                  {provisioned_throughput, [{<<"ReadCapacityUnits">>, 20},
                                            {<<"WriteCapacityUnits">>, 5}]},
                  {raw_schema, jsx:decode(Json_Bin)}
  
negative.code:     TableName = kvc:path("TableName", Json),
      AttributeDefinitions = decode_table_attributes(kvc:path("AttributeDefinitions", Json), []),
      KeySchema = decode_2i_key_schema(kvc:path("KeySchema", Json), []),
      LocalSecondaryIndexes = decode_2i(kvc:path("LocalSecondaryIndexes", Json), []),
      GlobalSecondaryIndexes = decode_2i(kvc:path("GlobalSecondaryIndexes", Json), []),
      ProvisionedThroughput = [{<<"ReadCapacityUnits">>, kvc:path("ProvisionedThroughput.ReadCapacityUnits", Json)},
                               {<<"WriteCapacityUnits">>, kvc:path("ProvisionedThroughput.WriteCapacityUnits", Json)}],
  
      [{tablename, TableName},
       {fields, AttributeDefinitions},
       {key_schema, KeySchema},
       {lsi, LocalSecondaryIndexes},
       {gsi, GlobalSecondaryIndexes},
       {provisioned_throughput, ProvisionedThroughput},
       {raw_schema, Json}].
  
  