You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@olingo.apache.org by ko...@apache.org on 2015/02/26 12:54:56 UTC

[3/6] olingo-odata4-js git commit: [OLINGO-442] Check testcases/Cleanup Code/fix jsdoc

http://git-wip-us.apache.org/repos/asf/olingo-odata4-js/blob/5bff25da/test/test-demo-scenario.js
----------------------------------------------------------------------
diff --git a/test/test-demo-scenario.js b/test/test-demo-scenario.js
index 7b57fb6..9268458 100644
--- a/test/test-demo-scenario.js
+++ b/test/test-demo-scenario.js
@@ -16,271 +16,1612 @@
  * specific language governing permissions and limitations
  * under the License.
  */
+'use strict';
 
 var odatajs = require('./../src/index-node.js');
 var chai = require('chai');
 var assert = chai.assert;
 
 var testDataJsonParserMetadataNone = [{
-  description: "Feed with metadata=none",
-  header:  "application/json;odata.metadata=none",
-  usedUrl: "http://localhost:4002/tests/endpoints/FoodStoreDataServiceV4.svc/Foods",
-  input:   '{"value":[{"FoodID":0,"Name":"flour","UnitPrice":0.19999,"ServingSize":1,"MeasurementUnit":"Cup","ProteinGrams":3,"FatGrams":1,"CarbohydrateGrams":20,"CaloriesPerServing":140,"IsAvailable":true,"ExpirationDate":"2010-12-25T12:00:00Z","ItemGUID":"27272727-2727-2727-2727-272727272727","Weight":10,"AvailableUnits":1,"Packaging":{"Type":null,"Color":"","NumberPerPackage":2147483647,"RequiresRefridgeration":false,"ShipDate":"2000-12-29T00:00:00Z","PackageDimensions":{"Length":79228162514264337593543950335,"Height":32767,"Width":9223372036854775807,"Volume":1.7976931348623157E+308}},"CookedSize":{"Length":2,"Height":1,"Width":3,"Volume":6.0},"AlternativeNames":["ground cereal","ground grain"],"Providers":[{"Name":"Flour Provider","Aliases":["fp1","flour provider1"],"Details":{"Telephone":"555-555-555","PreferredCode":1001}},{"Name":"Ground Grains","Aliases":[],"Details":null}],"SpatialData":{"type":"GeometryCollection","geometries":[{"type":"Point","coordinates":[5.0,5.0]}],"c
 rs":{"type":"name","properties":{"name":"EPSG:4326"}}}},{"FoodID":1,"Name":"sugar","UnitPrice":0.2,"ServingSize":1,"MeasurementUnit":"tsp","ProteinGrams":0,"FatGrams":0,"CarbohydrateGrams":4,"CaloriesPerServing":16,"IsAvailable":false,"ExpirationDate":"2011-12-28T00:00:00Z","ItemGUID":"ffffffff-ffff-ffff-ffff-ffffffffffff","Weight":0.1,"AvailableUnits":0,"Packaging":{"Type":" ","Color":"BLUE","NumberPerPackage":-2147483648,"RequiresRefridgeration":true,"ShipDate":"2000-12-29T00:00:00Z","PackageDimensions":{"Length":-79228162514264337593543950335,"Height":-32768,"Width":-9223372036854775808,"Volume":-1.7976931348623157E+308}},"CookedSize":null,"AlternativeNames":[],"Providers":[],"SpatialData":null},{"FoodID":2,"Name":"1 Chicken Egg","UnitPrice":0.55,"ServingSize":1,"MeasurementUnit":null,"ProteinGrams":6,"FatGrams":1,"CarbohydrateGrams":1,"CaloriesPerServing":70,"IsAvailable":true,"ExpirationDate":"2000-12-29T00:00:00Z","ItemGUID":"00000000-0000-0000-0000-000000000000","Weight":0,"A
 vailableUnits":-128,"Packaging":{"Type":"18     - Carton","Color":" brown ","NumberPerPackage":0,"RequiresRefridgeration":true,"ShipDate":"2000-12-29T00:00:00Z","PackageDimensions":null},"CookedSize":null,"AlternativeNames":[],"Providers":[],"SpatialData":null},{"FoodID":3,"Name":"Brown Sugar","UnitPrice":1.6,"ServingSize":1,"MeasurementUnit":"TSP.","ProteinGrams":0,"FatGrams":0,"CarbohydrateGrams":5,"CaloriesPerServing":16,"IsAvailable":true,"ExpirationDate":"2011-12-28T00:00:00Z","ItemGUID":"01234567-89ab-cdef-0123-456789abcdef","Weight":4.5,"AvailableUnits":127,"Packaging":null,"CookedSize":null,"AlternativeNames":[],"Providers":[],"SpatialData":null},{"FoodID":4,"Name":"Cobb Salad","UnitPrice":1.99,"ServingSize":-1,"MeasurementUnit":"cups","ProteinGrams":6,"FatGrams":1,"CarbohydrateGrams":3,"CaloriesPerServing":5,"IsAvailable":true,"ExpirationDate":"2000-12-29T00:00:00Z","ItemGUID":"01234567-89ab-cdef-0123-456789abcdef","Weight":5.674,"AvailableUnits":127,"Packaging":null,"Cooke
 dSize":null,"AlternativeNames":[],"Providers":[],"SpatialData":null,"Instructions":"1.) Open 2.) Eat","NumberOfIngredients":4}],"@odata.nextLink":"http://localhost:4002/tests/endpoints/FoodStoreDataServiceV4.svc/Foods?$skiptoken=4"}',
-  expected: {"value":[{"FoodID":0,"Name":"flour","UnitPrice":0.19999,"ServingSize":1,"MeasurementUnit":"Cup","ProteinGrams":3,"FatGrams":1,"CarbohydrateGrams":20,"CaloriesPerServing":140,"IsAvailable":true,"ExpirationDate":"2010-12-25T12:00:00Z","ItemGUID":"27272727-2727-2727-2727-272727272727","Weight":10,"AvailableUnits":1,"Packaging":{"Type":null,"Color":"","NumberPerPackage":2147483647,"RequiresRefridgeration":false,"ShipDate":"2000-12-29T00:00:00Z","PackageDimensions":{"Length":79228162514264337593543950335,"Height":32767,"Width":9223372036854775807,"Volume":1.7976931348623157E+308}},"CookedSize":{"Length":2,"Height":1,"Width":3,"Volume":6.0},"AlternativeNames":["ground cereal","ground grain"],"Providers":[{"Name":"Flour Provider","Aliases":["fp1","flour provider1"],"Details":{"Telephone":"555-555-555","PreferredCode":1001}},{"Name":"Ground Grains","Aliases":[],"Details":null}],"SpatialData":{"type":"GeometryCollection","geometries":[{"type":"Point","coordinates":[5.0,5.0]}],"c
 rs":{"type":"name","properties":{"name":"EPSG:4326"}}}},{"FoodID":1,"Name":"sugar","UnitPrice":0.2,"ServingSize":1,"MeasurementUnit":"tsp","ProteinGrams":0,"FatGrams":0,"CarbohydrateGrams":4,"CaloriesPerServing":16,"IsAvailable":false,"ExpirationDate":"2011-12-28T00:00:00Z","ItemGUID":"ffffffff-ffff-ffff-ffff-ffffffffffff","Weight":0.1,"AvailableUnits":0,"Packaging":{"Type":" ","Color":"BLUE","NumberPerPackage":-2147483648,"RequiresRefridgeration":true,"ShipDate":"2000-12-29T00:00:00Z","PackageDimensions":{"Length":-79228162514264337593543950335,"Height":-32768,"Width":-9223372036854775808,"Volume":-1.7976931348623157E+308}},"CookedSize":null,"AlternativeNames":[],"Providers":[],"SpatialData":null},{"FoodID":2,"Name":"1 Chicken Egg","UnitPrice":0.55,"ServingSize":1,"MeasurementUnit":null,"ProteinGrams":6,"FatGrams":1,"CarbohydrateGrams":1,"CaloriesPerServing":70,"IsAvailable":true,"ExpirationDate":"2000-12-29T00:00:00Z","ItemGUID":"00000000-0000-0000-0000-000000000000","Weight":0,"A
 vailableUnits":-128,"Packaging":{"Type":"18     - Carton","Color":" brown ","NumberPerPackage":0,"RequiresRefridgeration":true,"ShipDate":"2000-12-29T00:00:00Z","PackageDimensions":null},"CookedSize":null,"AlternativeNames":[],"Providers":[],"SpatialData":null},{"FoodID":3,"Name":"Brown Sugar","UnitPrice":1.6,"ServingSize":1,"MeasurementUnit":"TSP.","ProteinGrams":0,"FatGrams":0,"CarbohydrateGrams":5,"CaloriesPerServing":16,"IsAvailable":true,"ExpirationDate":"2011-12-28T00:00:00Z","ItemGUID":"01234567-89ab-cdef-0123-456789abcdef","Weight":4.5,"AvailableUnits":127,"Packaging":null,"CookedSize":null,"AlternativeNames":[],"Providers":[],"SpatialData":null},{"FoodID":4,"Name":"Cobb Salad","UnitPrice":1.99,"ServingSize":-1,"MeasurementUnit":"cups","ProteinGrams":6,"FatGrams":1,"CarbohydrateGrams":3,"CaloriesPerServing":5,"IsAvailable":true,"ExpirationDate":"2000-12-29T00:00:00Z","ItemGUID":"01234567-89ab-cdef-0123-456789abcdef","Weight":5.674,"AvailableUnits":127,"Packaging":null,"Cooke
 dSize":null,"AlternativeNames":[],"Providers":[],"SpatialData":null,"Instructions":"1.) Open 2.) Eat","NumberOfIngredients":4}],"@odata.nextLink":"http://localhost:4002/tests/endpoints/FoodStoreDataServiceV4.svc/Foods?$skiptoken=4"}
-},{
-  description: "Entry with metadata=none",
-  header:  "application/json;odata.metadata=none",
-  usedUrl: "http://localhost:4002/tests/endpoints/FoodStoreDataServiceV4.svc/Foods(0)",
-  input:   '{"FoodID":0,"Name":"flour","UnitPrice":0.19999,"ServingSize":1,"MeasurementUnit":"Cup","ProteinGrams":3,"FatGrams":1,"CarbohydrateGrams":20,"CaloriesPerServing":140,"IsAvailable":true,"ExpirationDate":"2010-12-25T12:00:00Z","ItemGUID":"27272727-2727-2727-2727-272727272727","Weight":10,"AvailableUnits":1,"Packaging":{"Type":null,"Color":"","NumberPerPackage":2147483647,"RequiresRefridgeration":false,"ShipDate":"2000-12-29T00:00:00Z","PackageDimensions":{"Length":79228162514264337593543950335,"Height":32767,"Width":9223372036854775807,"Volume":1.7976931348623157E+308}},"CookedSize":{"Length":2,"Height":1,"Width":3,"Volume":6.0},"AlternativeNames":["ground cereal","ground grain"],"Providers":[{"Name":"Flour Provider","Aliases":["fp1","flour provider1"],"Details":{"Telephone":"555-555-555","PreferredCode":1001}},{"Name":"Ground Grains","Aliases":[],"Details":null}],"SpatialData":{"type":"GeometryCollection","geometries":[{"type":"Point","coordinates":[5.0,5.0]}],"crs":{"type
 ":"name","properties":{"name":"EPSG:4326"}}}}',
-  expected: {"FoodID":0,"Name":"flour","UnitPrice":0.19999,"ServingSize":1,"MeasurementUnit":"Cup","ProteinGrams":3,"FatGrams":1,"CarbohydrateGrams":20,"CaloriesPerServing":140,"IsAvailable":true,"ExpirationDate":"2010-12-25T12:00:00Z","ItemGUID":"27272727-2727-2727-2727-272727272727","Weight":10,"AvailableUnits":1,"Packaging":{"Type":null,"Color":"","NumberPerPackage":2147483647,"RequiresRefridgeration":false,"ShipDate":"2000-12-29T00:00:00Z","PackageDimensions":{"Length":79228162514264337593543950335,"Height":32767,"Width":9223372036854775807,"Volume":1.7976931348623157E+308}},"CookedSize":{"Length":2,"Height":1,"Width":3,"Volume":6.0},"AlternativeNames":["ground cereal","ground grain"],"Providers":[{"Name":"Flour Provider","Aliases":["fp1","flour provider1"],"Details":{"Telephone":"555-555-555","PreferredCode":1001}},{"Name":"Ground Grains","Aliases":[],"Details":null}],"SpatialData":{"type":"GeometryCollection","geometries":[{"type":"Point","coordinates":[5.0,5.0]}],"crs":{"type
 ":"name","properties":{"name":"EPSG:4326"}}}}
-},{
-  description: "Collection of Complex with metadata=none",
-  header:  "application/json;odata.metadata=none",
-  usedUrl: "http://localhost:4002/tests/endpoints/FoodStoreDataServiceV4.svc/Foods(0)/Providers",
-  input:   '{"value":[{"Name":"Flour Provider","Aliases":["fp1","flour provider1"],"Details":{"Telephone":"555-555-555","PreferredCode":1001}},{"Name":"Ground Grains","Aliases":[],"Details":null}]}',
-  expected: {"value":[{"Name":"Flour Provider","Aliases":["fp1","flour provider1"],"Details":{"Telephone":"555-555-555","PreferredCode":1001}},{"Name":"Ground Grains","Aliases":[],"Details":null}]}
-},{
-  description: "Collection of Simple with metadata=none",
-  header:  "application/json;odata.metadata=none",
-  usedUrl: "http://localhost:4002/tests/endpoints/FoodStoreDataServiceV4.svc/Foods(0)/AlternativeNames",
-  input:   '{"value":["ground cereal","ground grain"]}',
-  expected: {"value":["ground cereal","ground grain"]}
-},{
-  description: "Complex Property with metadata=none",
-  header:  "application/json;odata.metadata=none",
-  usedUrl: "http://localhost:4002/tests/endpoints/FoodStoreDataServiceV4.svc/Foods(0)/Packaging",
-  input:   '{"Type":null,"Color":"","NumberPerPackage":2147483647,"RequiresRefridgeration":false,"ShipDate":"2000-12-29T00:00:00Z","PackageDimensions":{"Length":79228162514264337593543950335,"Height":32767,"Width":9223372036854775807,"Volume":1.7976931348623157E+308}}',
-  expected: {"Type":null,"Color":"","NumberPerPackage":2147483647,"RequiresRefridgeration":false,"ShipDate":"2000-12-29T00:00:00Z","PackageDimensions":{"Length":79228162514264337593543950335,"Height":32767,"Width":9223372036854775807,"Volume":1.7976931348623157E+308}}
-},{
-  description: "Simple Property with metadata=none",
-  header:  "application/json;odata.metadata=none",
-  usedUrl: "http://localhost:4002/tests/endpoints/FoodStoreDataServiceV4.svc/Foods(0)/Name",
-  input:   '{"value":"flour"}',
-  expected: {"value":"flour"}
+    description: "Feed with metadata=none",
+    header: "application/json;odata.metadata=none",
+    usedUrl: "http://localhost:4002/tests/endpoints/FoodStoreDataServiceV4.svc/Foods",
+    input: '{"value":[{"FoodID":0,"Name":"flour","UnitPrice":0.19999,"ServingSize":1,"MeasurementUnit":"Cup","ProteinGrams":3,"FatGrams":1,"CarbohydrateGrams":20,"CaloriesPerServing":140,"IsAvailable":true,"ExpirationDate":"2010-12-25T12:00:00Z","ItemGUID":"27272727-2727-2727-2727-272727272727","Weight":10,"AvailableUnits":1,"Packaging":{"Type":null,"Color":"","NumberPerPackage":2147483647,"RequiresRefridgeration":false,"ShipDate":"2000-12-29T00:00:00Z","PackageDimensions":{"Length":79228162514264337593543950335,"Height":32767,"Width":9223372036854775807,"Volume":1.7976931348623157E+308}},"CookedSize":{"Length":2,"Height":1,"Width":3,"Volume":6.0},"AlternativeNames":["ground cereal","ground grain"],"Providers":[{"Name":"Flour Provider","Aliases":["fp1","flour provider1"],"Details":{"Telephone":"555-555-555","PreferredCode":1001}},{"Name":"Ground Grains","Aliases":[],"Details":null}],"SpatialData":{"type":"GeometryCollection","geometries":[{"type":"Point","coordinates":[5.0,5.0]}],"c
 rs":{"type":"name","properties":{"name":"EPSG:4326"}}}},{"FoodID":1,"Name":"sugar","UnitPrice":0.2,"ServingSize":1,"MeasurementUnit":"tsp","ProteinGrams":0,"FatGrams":0,"CarbohydrateGrams":4,"CaloriesPerServing":16,"IsAvailable":false,"ExpirationDate":"2011-12-28T00:00:00Z","ItemGUID":"ffffffff-ffff-ffff-ffff-ffffffffffff","Weight":0.1,"AvailableUnits":0,"Packaging":{"Type":" ","Color":"BLUE","NumberPerPackage":-2147483648,"RequiresRefridgeration":true,"ShipDate":"2000-12-29T00:00:00Z","PackageDimensions":{"Length":-79228162514264337593543950335,"Height":-32768,"Width":-9223372036854775808,"Volume":-1.7976931348623157E+308}},"CookedSize":null,"AlternativeNames":[],"Providers":[],"SpatialData":null},{"FoodID":2,"Name":"1 Chicken Egg","UnitPrice":0.55,"ServingSize":1,"MeasurementUnit":null,"ProteinGrams":6,"FatGrams":1,"CarbohydrateGrams":1,"CaloriesPerServing":70,"IsAvailable":true,"ExpirationDate":"2000-12-29T00:00:00Z","ItemGUID":"00000000-0000-0000-0000-000000000000","Weight":0,"A
 vailableUnits":-128,"Packaging":{"Type":"18     - Carton","Color":" brown ","NumberPerPackage":0,"RequiresRefridgeration":true,"ShipDate":"2000-12-29T00:00:00Z","PackageDimensions":null},"CookedSize":null,"AlternativeNames":[],"Providers":[],"SpatialData":null},{"FoodID":3,"Name":"Brown Sugar","UnitPrice":1.6,"ServingSize":1,"MeasurementUnit":"TSP.","ProteinGrams":0,"FatGrams":0,"CarbohydrateGrams":5,"CaloriesPerServing":16,"IsAvailable":true,"ExpirationDate":"2011-12-28T00:00:00Z","ItemGUID":"01234567-89ab-cdef-0123-456789abcdef","Weight":4.5,"AvailableUnits":127,"Packaging":null,"CookedSize":null,"AlternativeNames":[],"Providers":[],"SpatialData":null},{"FoodID":4,"Name":"Cobb Salad","UnitPrice":1.99,"ServingSize":-1,"MeasurementUnit":"cups","ProteinGrams":6,"FatGrams":1,"CarbohydrateGrams":3,"CaloriesPerServing":5,"IsAvailable":true,"ExpirationDate":"2000-12-29T00:00:00Z","ItemGUID":"01234567-89ab-cdef-0123-456789abcdef","Weight":5.674,"AvailableUnits":127,"Packaging":null,"Cooke
 dSize":null,"AlternativeNames":[],"Providers":[],"SpatialData":null,"Instructions":"1.) Open 2.) Eat","NumberOfIngredients":4}],"@odata.nextLink":"http://localhost:4002/tests/endpoints/FoodStoreDataServiceV4.svc/Foods?$skiptoken=4"}',
+    expected: {
+        "value": [{
+            "FoodID": 0,
+            "Name": "flour",
+            "UnitPrice": 0.19999,
+            "ServingSize": 1,
+            "MeasurementUnit": "Cup",
+            "ProteinGrams": 3,
+            "FatGrams": 1,
+            "CarbohydrateGrams": 20,
+            "CaloriesPerServing": 140,
+            "IsAvailable": true,
+            "ExpirationDate": "2010-12-25T12:00:00Z",
+            "ItemGUID": "27272727-2727-2727-2727-272727272727",
+            "Weight": 10,
+            "AvailableUnits": 1,
+            "Packaging": {
+                "Type": null,
+                "Color": "",
+                "NumberPerPackage": 2147483647,
+                "RequiresRefridgeration": false,
+                "ShipDate": "2000-12-29T00:00:00Z",
+                "PackageDimensions": {
+                    "Length": 79228162514264337593543950335,
+                    "Height": 32767,
+                    "Width": 9223372036854775807,
+                    "Volume": 1.7976931348623157E+308
+                }
+            },
+            "CookedSize": {"Length": 2, "Height": 1, "Width": 3, "Volume": 6.0},
+            "AlternativeNames": ["ground cereal", "ground grain"],
+            "Providers": [{
+                "Name": "Flour Provider",
+                "Aliases": ["fp1", "flour provider1"],
+                "Details": {"Telephone": "555-555-555", "PreferredCode": 1001}
+            }, {"Name": "Ground Grains", "Aliases": [], "Details": null}],
+            "SpatialData": {
+                "type": "GeometryCollection",
+                "geometries": [{"type": "Point", "coordinates": [5.0, 5.0]}],
+                "crs": {"type": "name", "properties": {"name": "EPSG:4326"}}
+            }
+        }, {
+            "FoodID": 1,
+            "Name": "sugar",
+            "UnitPrice": 0.2,
+            "ServingSize": 1,
+            "MeasurementUnit": "tsp",
+            "ProteinGrams": 0,
+            "FatGrams": 0,
+            "CarbohydrateGrams": 4,
+            "CaloriesPerServing": 16,
+            "IsAvailable": false,
+            "ExpirationDate": "2011-12-28T00:00:00Z",
+            "ItemGUID": "ffffffff-ffff-ffff-ffff-ffffffffffff",
+            "Weight": 0.1,
+            "AvailableUnits": 0,
+            "Packaging": {
+                "Type": " ",
+                "Color": "BLUE",
+                "NumberPerPackage": -2147483648,
+                "RequiresRefridgeration": true,
+                "ShipDate": "2000-12-29T00:00:00Z",
+                "PackageDimensions": {
+                    "Length": -79228162514264337593543950335,
+                    "Height": -32768,
+                    "Width": -9223372036854775808,
+                    "Volume": -1.7976931348623157E+308
+                }
+            },
+            "CookedSize": null,
+            "AlternativeNames": [],
+            "Providers": [],
+            "SpatialData": null
+        }, {
+            "FoodID": 2,
+            "Name": "1 Chicken Egg",
+            "UnitPrice": 0.55,
+            "ServingSize": 1,
+            "MeasurementUnit": null,
+            "ProteinGrams": 6,
+            "FatGrams": 1,
+            "CarbohydrateGrams": 1,
+            "CaloriesPerServing": 70,
+            "IsAvailable": true,
+            "ExpirationDate": "2000-12-29T00:00:00Z",
+            "ItemGUID": "00000000-0000-0000-0000-000000000000",
+            "Weight": 0,
+            "AvailableUnits": -128,
+            "Packaging": {
+                "Type": "18     - Carton",
+                "Color": " brown ",
+                "NumberPerPackage": 0,
+                "RequiresRefridgeration": true,
+                "ShipDate": "2000-12-29T00:00:00Z",
+                "PackageDimensions": null
+            },
+            "CookedSize": null,
+            "AlternativeNames": [],
+            "Providers": [],
+            "SpatialData": null
+        }, {
+            "FoodID": 3,
+            "Name": "Brown Sugar",
+            "UnitPrice": 1.6,
+            "ServingSize": 1,
+            "MeasurementUnit": "TSP.",
+            "ProteinGrams": 0,
+            "FatGrams": 0,
+            "CarbohydrateGrams": 5,
+            "CaloriesPerServing": 16,
+            "IsAvailable": true,
+            "ExpirationDate": "2011-12-28T00:00:00Z",
+            "ItemGUID": "01234567-89ab-cdef-0123-456789abcdef",
+            "Weight": 4.5,
+            "AvailableUnits": 127,
+            "Packaging": null,
+            "CookedSize": null,
+            "AlternativeNames": [],
+            "Providers": [],
+            "SpatialData": null
+        }, {
+            "FoodID": 4,
+            "Name": "Cobb Salad",
+            "UnitPrice": 1.99,
+            "ServingSize": -1,
+            "MeasurementUnit": "cups",
+            "ProteinGrams": 6,
+            "FatGrams": 1,
+            "CarbohydrateGrams": 3,
+            "CaloriesPerServing": 5,
+            "IsAvailable": true,
+            "ExpirationDate": "2000-12-29T00:00:00Z",
+            "ItemGUID": "01234567-89ab-cdef-0123-456789abcdef",
+            "Weight": 5.674,
+            "AvailableUnits": 127,
+            "Packaging": null,
+            "CookedSize": null,
+            "AlternativeNames": [],
+            "Providers": [],
+            "SpatialData": null,
+            "Instructions": "1.) Open 2.) Eat",
+            "NumberOfIngredients": 4
+        }], "@odata.nextLink": "http://localhost:4002/tests/endpoints/FoodStoreDataServiceV4.svc/Foods?$skiptoken=4"
+    }
+}, {
+    description: "Entry with metadata=none",
+    header: "application/json;odata.metadata=none",
+    usedUrl: "http://localhost:4002/tests/endpoints/FoodStoreDataServiceV4.svc/Foods(0)",
+    input: '{"FoodID":0,"Name":"flour","UnitPrice":0.19999,"ServingSize":1,"MeasurementUnit":"Cup","ProteinGrams":3,"FatGrams":1,"CarbohydrateGrams":20,"CaloriesPerServing":140,"IsAvailable":true,"ExpirationDate":"2010-12-25T12:00:00Z","ItemGUID":"27272727-2727-2727-2727-272727272727","Weight":10,"AvailableUnits":1,"Packaging":{"Type":null,"Color":"","NumberPerPackage":2147483647,"RequiresRefridgeration":false,"ShipDate":"2000-12-29T00:00:00Z","PackageDimensions":{"Length":79228162514264337593543950335,"Height":32767,"Width":9223372036854775807,"Volume":1.7976931348623157E+308}},"CookedSize":{"Length":2,"Height":1,"Width":3,"Volume":6.0},"AlternativeNames":["ground cereal","ground grain"],"Providers":[{"Name":"Flour Provider","Aliases":["fp1","flour provider1"],"Details":{"Telephone":"555-555-555","PreferredCode":1001}},{"Name":"Ground Grains","Aliases":[],"Details":null}],"SpatialData":{"type":"GeometryCollection","geometries":[{"type":"Point","coordinates":[5.0,5.0]}],"crs":{"type
 ":"name","properties":{"name":"EPSG:4326"}}}}',
+    expected: {
+        "FoodID": 0,
+        "Name": "flour",
+        "UnitPrice": 0.19999,
+        "ServingSize": 1,
+        "MeasurementUnit": "Cup",
+        "ProteinGrams": 3,
+        "FatGrams": 1,
+        "CarbohydrateGrams": 20,
+        "CaloriesPerServing": 140,
+        "IsAvailable": true,
+        "ExpirationDate": "2010-12-25T12:00:00Z",
+        "ItemGUID": "27272727-2727-2727-2727-272727272727",
+        "Weight": 10,
+        "AvailableUnits": 1,
+        "Packaging": {
+            "Type": null,
+            "Color": "",
+            "NumberPerPackage": 2147483647,
+            "RequiresRefridgeration": false,
+            "ShipDate": "2000-12-29T00:00:00Z",
+            "PackageDimensions": {
+                "Length": 79228162514264337593543950335,
+                "Height": 32767,
+                "Width": 9223372036854775807,
+                "Volume": 1.7976931348623157E+308
+            }
+        },
+        "CookedSize": {"Length": 2, "Height": 1, "Width": 3, "Volume": 6.0},
+        "AlternativeNames": ["ground cereal", "ground grain"],
+        "Providers": [{
+            "Name": "Flour Provider",
+            "Aliases": ["fp1", "flour provider1"],
+            "Details": {"Telephone": "555-555-555", "PreferredCode": 1001}
+        }, {"Name": "Ground Grains", "Aliases": [], "Details": null}],
+        "SpatialData": {
+            "type": "GeometryCollection",
+            "geometries": [{"type": "Point", "coordinates": [5.0, 5.0]}],
+            "crs": {"type": "name", "properties": {"name": "EPSG:4326"}}
+        }
+    }
+}, {
+    description: "Collection of Complex with metadata=none",
+    header: "application/json;odata.metadata=none",
+    usedUrl: "http://localhost:4002/tests/endpoints/FoodStoreDataServiceV4.svc/Foods(0)/Providers",
+    input: '{"value":[{"Name":"Flour Provider","Aliases":["fp1","flour provider1"],"Details":{"Telephone":"555-555-555","PreferredCode":1001}},{"Name":"Ground Grains","Aliases":[],"Details":null}]}',
+    expected: {
+        "value": [{
+            "Name": "Flour Provider",
+            "Aliases": ["fp1", "flour provider1"],
+            "Details": {"Telephone": "555-555-555", "PreferredCode": 1001}
+        }, {"Name": "Ground Grains", "Aliases": [], "Details": null}]
+    }
+}, {
+    description: "Collection of Simple with metadata=none",
+    header: "application/json;odata.metadata=none",
+    usedUrl: "http://localhost:4002/tests/endpoints/FoodStoreDataServiceV4.svc/Foods(0)/AlternativeNames",
+    input: '{"value":["ground cereal","ground grain"]}',
+    expected: {"value": ["ground cereal", "ground grain"]}
+}, {
+    description: "Complex Property with metadata=none",
+    header: "application/json;odata.metadata=none",
+    usedUrl: "http://localhost:4002/tests/endpoints/FoodStoreDataServiceV4.svc/Foods(0)/Packaging",
+    input: '{"Type":null,"Color":"","NumberPerPackage":2147483647,"RequiresRefridgeration":false,"ShipDate":"2000-12-29T00:00:00Z","PackageDimensions":{"Length":79228162514264337593543950335,"Height":32767,"Width":9223372036854775807,"Volume":1.7976931348623157E+308}}',
+    expected: {
+        "Type": null,
+        "Color": "",
+        "NumberPerPackage": 2147483647,
+        "RequiresRefridgeration": false,
+        "ShipDate": "2000-12-29T00:00:00Z",
+        "PackageDimensions": {
+            "Length": 79228162514264337593543950335,
+            "Height": 32767,
+            "Width": 9223372036854775807,
+            "Volume": 1.7976931348623157E+308
+        }
+    }
+}, {
+    description: "Simple Property with metadata=none",
+    header: "application/json;odata.metadata=none",
+    usedUrl: "http://localhost:4002/tests/endpoints/FoodStoreDataServiceV4.svc/Foods(0)/Name",
+    input: '{"value":"flour"}',
+    expected: {"value": "flour"}
 }];
 
 var testDataJsonParserMetadataMinimal = [{
-  description: "Feed with metadata=minimal",
-  header:  "application/json;odata.metadata=minimal",
-  usedUrl: "http://localhost:4002/tests/endpoints/FoodStoreDataServiceV4.svc/Foods",
-  input:   '{"@odata.context":"http://localhost:4002/tests/endpoints/FoodStoreDataServiceV4.svc/$metadata#Foods","value":[{"FoodID":0,"Name":"flour","UnitPrice":0.19999,"ServingSize":1,"MeasurementUnit":"Cup","ProteinGrams":3,"FatGrams":1,"CarbohydrateGrams":20,"CaloriesPerServing":140,"IsAvailable":true,"ExpirationDate":"2010-12-25T12:00:00Z","ItemGUID":"27272727-2727-2727-2727-272727272727","Weight":10,"AvailableUnits":1,"Packaging":{"Type":null,"Color":"","NumberPerPackage":2147483647,"RequiresRefridgeration":false,"ShipDate":"2000-12-29T00:00:00Z","PackageDimensions":{"Length":79228162514264337593543950335,"Height":32767,"Width":9223372036854775807,"Volume":1.7976931348623157E+308}},"CookedSize":{"Length":2,"Height":1,"Width":3,"Volume":6.0},"AlternativeNames":["ground cereal","ground grain"],"Providers":[{"Name":"Flour Provider","Aliases":["fp1","flour provider1"],"Details":{"Telephone":"555-555-555","PreferredCode":1001}},{"Name":"Ground Grains","Aliases":[],"Details":null}],"
 SpatialData":{"type":"GeometryCollection","geometries":[{"type":"Point","coordinates":[5.0,5.0]}],"crs":{"type":"name","properties":{"name":"EPSG:4326"}}}},{"FoodID":1,"Name":"sugar","UnitPrice":0.2,"ServingSize":1,"MeasurementUnit":"tsp","ProteinGrams":0,"FatGrams":0,"CarbohydrateGrams":4,"CaloriesPerServing":16,"IsAvailable":false,"ExpirationDate":"2011-12-28T00:00:00Z","ItemGUID":"ffffffff-ffff-ffff-ffff-ffffffffffff","Weight":0.1,"AvailableUnits":0,"Packaging":{"Type":" ","Color":"BLUE","NumberPerPackage":-2147483648,"RequiresRefridgeration":true,"ShipDate":"2000-12-29T00:00:00Z","PackageDimensions":{"Length":-79228162514264337593543950335,"Height":-32768,"Width":-9223372036854775808,"Volume":-1.7976931348623157E+308}},"CookedSize":null,"AlternativeNames":[],"Providers":[],"SpatialData":null},{"FoodID":2,"Name":"1 Chicken Egg","UnitPrice":0.55,"ServingSize":1,"MeasurementUnit":null,"ProteinGrams":6,"FatGrams":1,"CarbohydrateGrams":1,"CaloriesPerServing":70,"IsAvailable":true,"Ex
 pirationDate":"2000-12-29T00:00:00Z","ItemGUID":"00000000-0000-0000-0000-000000000000","Weight":0,"AvailableUnits":-128,"Packaging":{"Type":"18     - Carton","Color":" brown ","NumberPerPackage":0,"RequiresRefridgeration":true,"ShipDate":"2000-12-29T00:00:00Z","PackageDimensions":null},"CookedSize":null,"AlternativeNames":[],"Providers":[],"SpatialData":null},{"FoodID":3,"Name":"Brown Sugar","UnitPrice":1.6,"ServingSize":1,"MeasurementUnit":"TSP.","ProteinGrams":0,"FatGrams":0,"CarbohydrateGrams":5,"CaloriesPerServing":16,"IsAvailable":true,"ExpirationDate":"2011-12-28T00:00:00Z","ItemGUID":"01234567-89ab-cdef-0123-456789abcdef","Weight":4.5,"AvailableUnits":127,"Packaging":null,"CookedSize":null,"AlternativeNames":[],"Providers":[],"SpatialData":null},{"@odata.type":"#DataJS.Tests.V4.PreparedFood","FoodID":4,"Name":"Cobb Salad","UnitPrice":1.99,"ServingSize":-1,"MeasurementUnit":"cups","ProteinGrams":6,"FatGrams":1,"CarbohydrateGrams":3,"CaloriesPerServing":5,"IsAvailable":true,"Ex
 pirationDate":"2000-12-29T00:00:00Z","ItemGUID":"01234567-89ab-cdef-0123-456789abcdef","Weight":5.674,"AvailableUnits":127,"Packaging":null,"CookedSize":null,"AlternativeNames":[],"Providers":[],"SpatialData":null,"Instructions":"1.) Open 2.) Eat","NumberOfIngredients":4}],"@odata.nextLink":"Foods?$skiptoken=4"}',
-  expected: {"@odata.context":"http://localhost:4002/tests/endpoints/FoodStoreDataServiceV4.svc/$metadata#Foods","value":[{"FoodID":0,"Name":"flour","UnitPrice":0.19999,"ServingSize":1,"MeasurementUnit":"Cup","ProteinGrams":3,"FatGrams":1,"CarbohydrateGrams":20,"CaloriesPerServing":140,"IsAvailable":true,"ExpirationDate":"2010-12-25T12:00:00Z","ItemGUID":"27272727-2727-2727-2727-272727272727","Weight":10,"AvailableUnits":1,"Packaging":{"Type":null,"Color":"","NumberPerPackage":2147483647,"RequiresRefridgeration":false,"ShipDate":"2000-12-29T00:00:00Z","PackageDimensions":{"Length":79228162514264337593543950335,"Height":32767,"Width":9223372036854775807,"Volume":1.7976931348623157E+308}},"CookedSize":{"Length":2,"Height":1,"Width":3,"Volume":6.0},"AlternativeNames":["ground cereal","ground grain"],"Providers":[{"Name":"Flour Provider","Aliases":["fp1","flour provider1"],"Details":{"Telephone":"555-555-555","PreferredCode":1001}},{"Name":"Ground Grains","Aliases":[],"Details":null}],"
 SpatialData":{"type":"GeometryCollection","geometries":[{"type":"Point","coordinates":[5.0,5.0]}],"crs":{"type":"name","properties":{"name":"EPSG:4326"}}}},{"FoodID":1,"Name":"sugar","UnitPrice":0.2,"ServingSize":1,"MeasurementUnit":"tsp","ProteinGrams":0,"FatGrams":0,"CarbohydrateGrams":4,"CaloriesPerServing":16,"IsAvailable":false,"ExpirationDate":"2011-12-28T00:00:00Z","ItemGUID":"ffffffff-ffff-ffff-ffff-ffffffffffff","Weight":0.1,"AvailableUnits":0,"Packaging":{"Type":" ","Color":"BLUE","NumberPerPackage":-2147483648,"RequiresRefridgeration":true,"ShipDate":"2000-12-29T00:00:00Z","PackageDimensions":{"Length":-79228162514264337593543950335,"Height":-32768,"Width":-9223372036854775808,"Volume":-1.7976931348623157E+308}},"CookedSize":null,"AlternativeNames":[],"Providers":[],"SpatialData":null},{"FoodID":2,"Name":"1 Chicken Egg","UnitPrice":0.55,"ServingSize":1,"MeasurementUnit":null,"ProteinGrams":6,"FatGrams":1,"CarbohydrateGrams":1,"CaloriesPerServing":70,"IsAvailable":true,"Ex
 pirationDate":"2000-12-29T00:00:00Z","ItemGUID":"00000000-0000-0000-0000-000000000000","Weight":0,"AvailableUnits":-128,"Packaging":{"Type":"18     - Carton","Color":" brown ","NumberPerPackage":0,"RequiresRefridgeration":true,"ShipDate":"2000-12-29T00:00:00Z","PackageDimensions":null},"CookedSize":null,"AlternativeNames":[],"Providers":[],"SpatialData":null},{"FoodID":3,"Name":"Brown Sugar","UnitPrice":1.6,"ServingSize":1,"MeasurementUnit":"TSP.","ProteinGrams":0,"FatGrams":0,"CarbohydrateGrams":5,"CaloriesPerServing":16,"IsAvailable":true,"ExpirationDate":"2011-12-28T00:00:00Z","ItemGUID":"01234567-89ab-cdef-0123-456789abcdef","Weight":4.5,"AvailableUnits":127,"Packaging":null,"CookedSize":null,"AlternativeNames":[],"Providers":[],"SpatialData":null},{"@odata.type":"#DataJS.Tests.V4.PreparedFood","FoodID":4,"Name":"Cobb Salad","UnitPrice":1.99,"ServingSize":-1,"MeasurementUnit":"cups","ProteinGrams":6,"FatGrams":1,"CarbohydrateGrams":3,"CaloriesPerServing":5,"IsAvailable":true,"Ex
 pirationDate":"2000-12-29T00:00:00Z","ItemGUID":"01234567-89ab-cdef-0123-456789abcdef","Weight":5.674,"AvailableUnits":127,"Packaging":null,"CookedSize":null,"AlternativeNames":[],"Providers":[],"SpatialData":null,"Instructions":"1.) Open 2.) Eat","NumberOfIngredients":4}],"@odata.nextLink":"Foods?$skiptoken=4"}
-},{
-  description: "Entry with metadata=minimal",
-  header:  "application/json;odata.metadata=minimal",
-  usedUrl: "http://localhost:4002/tests/endpoints/FoodStoreDataServiceV4.svc/Foods(0)",
-  input:   '{"@odata.context":"http://localhost:4002/tests/endpoints/FoodStoreDataServiceV4.svc/$metadata#Foods/$entity","FoodID":0,"Name":"flour","UnitPrice":0.19999,"ServingSize":1,"MeasurementUnit":"Cup","ProteinGrams":3,"FatGrams":1,"CarbohydrateGrams":20,"CaloriesPerServing":140,"IsAvailable":true,"ExpirationDate":"2010-12-25T12:00:00Z","ItemGUID":"27272727-2727-2727-2727-272727272727","Weight":10,"AvailableUnits":1,"Packaging":{"Type":null,"Color":"","NumberPerPackage":2147483647,"RequiresRefridgeration":false,"ShipDate":"2000-12-29T00:00:00Z","PackageDimensions":{"Length":79228162514264337593543950335,"Height":32767,"Width":9223372036854775807,"Volume":1.7976931348623157E+308}},"CookedSize":{"Length":2,"Height":1,"Width":3,"Volume":6.0},"AlternativeNames":["ground cereal","ground grain"],"Providers":[{"Name":"Flour Provider","Aliases":["fp1","flour provider1"],"Details":{"Telephone":"555-555-555","PreferredCode":1001}},{"Name":"Ground Grains","Aliases":[],"Details":null}],"Sp
 atialData":{"type":"GeometryCollection","geometries":[{"type":"Point","coordinates":[5.0,5.0]}],"crs":{"type":"name","properties":{"name":"EPSG:4326"}}}}',
-  expected: {"@odata.context":"http://localhost:4002/tests/endpoints/FoodStoreDataServiceV4.svc/$metadata#Foods/$entity","FoodID":0,"Name":"flour","UnitPrice":0.19999,"ServingSize":1,"MeasurementUnit":"Cup","ProteinGrams":3,"FatGrams":1,"CarbohydrateGrams":20,"CaloriesPerServing":140,"IsAvailable":true,"ExpirationDate":"2010-12-25T12:00:00Z","ItemGUID":"27272727-2727-2727-2727-272727272727","Weight":10,"AvailableUnits":1,"Packaging":{"Type":null,"Color":"","NumberPerPackage":2147483647,"RequiresRefridgeration":false,"ShipDate":"2000-12-29T00:00:00Z","PackageDimensions":{"Length":79228162514264337593543950335,"Height":32767,"Width":9223372036854775807,"Volume":1.7976931348623157E+308}},"CookedSize":{"Length":2,"Height":1,"Width":3,"Volume":6.0},"AlternativeNames":["ground cereal","ground grain"],"Providers":[{"Name":"Flour Provider","Aliases":["fp1","flour provider1"],"Details":{"Telephone":"555-555-555","PreferredCode":1001}},{"Name":"Ground Grains","Aliases":[],"Details":null}],"Sp
 atialData":{"type":"GeometryCollection","geometries":[{"type":"Point","coordinates":[5.0,5.0]}],"crs":{"type":"name","properties":{"name":"EPSG:4326"}}}}
-},{
-  description: "Collection of Complex with metadata=minimal",
-  header:  "application/json;odata.metadata=minimal",
-  usedUrl: "http://localhost:4002/tests/endpoints/FoodStoreDataServiceV4.svc/Foods(0)/Providers",
-  input:   '{"@odata.context":"http://localhost:4002/tests/endpoints/FoodStoreDataServiceV4.svc/$metadata#Foods(0)/Providers","value":[{"Name":"Flour Provider","Aliases":["fp1","flour provider1"],"Details":{"Telephone":"555-555-555","PreferredCode":1001}},{"Name":"Ground Grains","Aliases":[],"Details":null}]}',
-  expected: {"@odata.context":"http://localhost:4002/tests/endpoints/FoodStoreDataServiceV4.svc/$metadata#Foods(0)/Providers","value":[{"Name":"Flour Provider","Aliases":["fp1","flour provider1"],"Details":{"Telephone":"555-555-555","PreferredCode":1001}},{"Name":"Ground Grains","Aliases":[],"Details":null}]}
-},{
-  description: "Collection of Simple with metadata=minimal",
-  header:  "application/json;odata.metadata=minimal",
-  usedUrl: "http://localhost:4002/tests/endpoints/FoodStoreDataServiceV4.svc/Foods(0)/AlternativeNames",
-  input:   '{"@odata.context":"http://localhost:4002/tests/endpoints/FoodStoreDataServiceV4.svc/$metadata#Foods(0)/AlternativeNames","value":["ground cereal","ground grain"]}',
-  expected: {"@odata.context":"http://localhost:4002/tests/endpoints/FoodStoreDataServiceV4.svc/$metadata#Foods(0)/AlternativeNames","value":["ground cereal","ground grain"]}
-},{
-  description: "Complex Property with metadata=minimal",
-  header:  "application/json;odata.metadata=minimal",
-  usedUrl: "http://localhost:4002/tests/endpoints/FoodStoreDataServiceV4.svc/Foods(0)/Packaging",
-  input:   '{"@odata.context":"http://localhost:4002/tests/endpoints/FoodStoreDataServiceV4.svc/$metadata#Foods(0)/Packaging","Type":null,"Color":"","NumberPerPackage":2147483647,"RequiresRefridgeration":false,"ShipDate":"2000-12-29T00:00:00Z","PackageDimensions":{"Length":79228162514264337593543950335,"Height":32767,"Width":9223372036854775807,"Volume":1.7976931348623157E+308}}',
-  expected: {"@odata.context":"http://localhost:4002/tests/endpoints/FoodStoreDataServiceV4.svc/$metadata#Foods(0)/Packaging","Type":null,"Color":"","NumberPerPackage":2147483647,"RequiresRefridgeration":false,"ShipDate":"2000-12-29T00:00:00Z","PackageDimensions":{"Length":79228162514264337593543950335,"Height":32767,"Width":9223372036854775807,"Volume":1.7976931348623157E+308}}
-},{
-  description: "Simple Property with metadata=minimal",
-  header:  "application/json;odata.metadata=minimal",
-  usedUrl: "http://localhost:4002/tests/endpoints/FoodStoreDataServiceV4.svc/Foods(0)/Name",
-  input:   '{"@odata.context":"http://localhost:4002/tests/endpoints/FoodStoreDataServiceV4.svc/$metadata#Foods(0)/Name","value":"flour"}',
-  expected: {"@odata.context":"http://localhost:4002/tests/endpoints/FoodStoreDataServiceV4.svc/$metadata#Foods(0)/Name","value":"flour"}
+    description: "Feed with metadata=minimal",
+    header: "application/json;odata.metadata=minimal",
+    usedUrl: "http://localhost:4002/tests/endpoints/FoodStoreDataServiceV4.svc/Foods",
+    input: '{"@odata.context":"http://localhost:4002/tests/endpoints/FoodStoreDataServiceV4.svc/$metadata#Foods","value":[{"FoodID":0,"Name":"flour","UnitPrice":0.19999,"ServingSize":1,"MeasurementUnit":"Cup","ProteinGrams":3,"FatGrams":1,"CarbohydrateGrams":20,"CaloriesPerServing":140,"IsAvailable":true,"ExpirationDate":"2010-12-25T12:00:00Z","ItemGUID":"27272727-2727-2727-2727-272727272727","Weight":10,"AvailableUnits":1,"Packaging":{"Type":null,"Color":"","NumberPerPackage":2147483647,"RequiresRefridgeration":false,"ShipDate":"2000-12-29T00:00:00Z","PackageDimensions":{"Length":79228162514264337593543950335,"Height":32767,"Width":9223372036854775807,"Volume":1.7976931348623157E+308}},"CookedSize":{"Length":2,"Height":1,"Width":3,"Volume":6.0},"AlternativeNames":["ground cereal","ground grain"],"Providers":[{"Name":"Flour Provider","Aliases":["fp1","flour provider1"],"Details":{"Telephone":"555-555-555","PreferredCode":1001}},{"Name":"Ground Grains","Aliases":[],"Details":null}],"
 SpatialData":{"type":"GeometryCollection","geometries":[{"type":"Point","coordinates":[5.0,5.0]}],"crs":{"type":"name","properties":{"name":"EPSG:4326"}}}},{"FoodID":1,"Name":"sugar","UnitPrice":0.2,"ServingSize":1,"MeasurementUnit":"tsp","ProteinGrams":0,"FatGrams":0,"CarbohydrateGrams":4,"CaloriesPerServing":16,"IsAvailable":false,"ExpirationDate":"2011-12-28T00:00:00Z","ItemGUID":"ffffffff-ffff-ffff-ffff-ffffffffffff","Weight":0.1,"AvailableUnits":0,"Packaging":{"Type":" ","Color":"BLUE","NumberPerPackage":-2147483648,"RequiresRefridgeration":true,"ShipDate":"2000-12-29T00:00:00Z","PackageDimensions":{"Length":-79228162514264337593543950335,"Height":-32768,"Width":-9223372036854775808,"Volume":-1.7976931348623157E+308}},"CookedSize":null,"AlternativeNames":[],"Providers":[],"SpatialData":null},{"FoodID":2,"Name":"1 Chicken Egg","UnitPrice":0.55,"ServingSize":1,"MeasurementUnit":null,"ProteinGrams":6,"FatGrams":1,"CarbohydrateGrams":1,"CaloriesPerServing":70,"IsAvailable":true,"Ex
 pirationDate":"2000-12-29T00:00:00Z","ItemGUID":"00000000-0000-0000-0000-000000000000","Weight":0,"AvailableUnits":-128,"Packaging":{"Type":"18     - Carton","Color":" brown ","NumberPerPackage":0,"RequiresRefridgeration":true,"ShipDate":"2000-12-29T00:00:00Z","PackageDimensions":null},"CookedSize":null,"AlternativeNames":[],"Providers":[],"SpatialData":null},{"FoodID":3,"Name":"Brown Sugar","UnitPrice":1.6,"ServingSize":1,"MeasurementUnit":"TSP.","ProteinGrams":0,"FatGrams":0,"CarbohydrateGrams":5,"CaloriesPerServing":16,"IsAvailable":true,"ExpirationDate":"2011-12-28T00:00:00Z","ItemGUID":"01234567-89ab-cdef-0123-456789abcdef","Weight":4.5,"AvailableUnits":127,"Packaging":null,"CookedSize":null,"AlternativeNames":[],"Providers":[],"SpatialData":null},{"@odata.type":"#DataJS.Tests.V4.PreparedFood","FoodID":4,"Name":"Cobb Salad","UnitPrice":1.99,"ServingSize":-1,"MeasurementUnit":"cups","ProteinGrams":6,"FatGrams":1,"CarbohydrateGrams":3,"CaloriesPerServing":5,"IsAvailable":true,"Ex
 pirationDate":"2000-12-29T00:00:00Z","ItemGUID":"01234567-89ab-cdef-0123-456789abcdef","Weight":5.674,"AvailableUnits":127,"Packaging":null,"CookedSize":null,"AlternativeNames":[],"Providers":[],"SpatialData":null,"Instructions":"1.) Open 2.) Eat","NumberOfIngredients":4}],"@odata.nextLink":"Foods?$skiptoken=4"}',
+    expected: {
+        "@odata.context": "http://localhost:4002/tests/endpoints/FoodStoreDataServiceV4.svc/$metadata#Foods",
+        "value": [{
+            "FoodID": 0,
+            "Name": "flour",
+            "UnitPrice": 0.19999,
+            "ServingSize": 1,
+            "MeasurementUnit": "Cup",
+            "ProteinGrams": 3,
+            "FatGrams": 1,
+            "CarbohydrateGrams": 20,
+            "CaloriesPerServing": 140,
+            "IsAvailable": true,
+            "ExpirationDate": "2010-12-25T12:00:00Z",
+            "ItemGUID": "27272727-2727-2727-2727-272727272727",
+            "Weight": 10,
+            "AvailableUnits": 1,
+            "Packaging": {
+                "Type": null,
+                "Color": "",
+                "NumberPerPackage": 2147483647,
+                "RequiresRefridgeration": false,
+                "ShipDate": "2000-12-29T00:00:00Z",
+                "PackageDimensions": {
+                    "Length": 79228162514264337593543950335,
+                    "Height": 32767,
+                    "Width": 9223372036854775807,
+                    "Volume": 1.7976931348623157E+308
+                }
+            },
+            "CookedSize": {"Length": 2, "Height": 1, "Width": 3, "Volume": 6.0},
+            "AlternativeNames": ["ground cereal", "ground grain"],
+            "Providers": [{
+                "Name": "Flour Provider",
+                "Aliases": ["fp1", "flour provider1"],
+                "Details": {"Telephone": "555-555-555", "PreferredCode": 1001}
+            }, {"Name": "Ground Grains", "Aliases": [], "Details": null}],
+            "SpatialData": {
+                "type": "GeometryCollection",
+                "geometries": [{"type": "Point", "coordinates": [5.0, 5.0]}],
+                "crs": {"type": "name", "properties": {"name": "EPSG:4326"}}
+            }
+        }, {
+            "FoodID": 1,
+            "Name": "sugar",
+            "UnitPrice": 0.2,
+            "ServingSize": 1,
+            "MeasurementUnit": "tsp",
+            "ProteinGrams": 0,
+            "FatGrams": 0,
+            "CarbohydrateGrams": 4,
+            "CaloriesPerServing": 16,
+            "IsAvailable": false,
+            "ExpirationDate": "2011-12-28T00:00:00Z",
+            "ItemGUID": "ffffffff-ffff-ffff-ffff-ffffffffffff",
+            "Weight": 0.1,
+            "AvailableUnits": 0,
+            "Packaging": {
+                "Type": " ",
+                "Color": "BLUE",
+                "NumberPerPackage": -2147483648,
+                "RequiresRefridgeration": true,
+                "ShipDate": "2000-12-29T00:00:00Z",
+                "PackageDimensions": {
+                    "Length": -79228162514264337593543950335,
+                    "Height": -32768,
+                    "Width": -9223372036854775808,
+                    "Volume": -1.7976931348623157E+308
+                }
+            },
+            "CookedSize": null,
+            "AlternativeNames": [],
+            "Providers": [],
+            "SpatialData": null
+        }, {
+            "FoodID": 2,
+            "Name": "1 Chicken Egg",
+            "UnitPrice": 0.55,
+            "ServingSize": 1,
+            "MeasurementUnit": null,
+            "ProteinGrams": 6,
+            "FatGrams": 1,
+            "CarbohydrateGrams": 1,
+            "CaloriesPerServing": 70,
+            "IsAvailable": true,
+            "ExpirationDate": "2000-12-29T00:00:00Z",
+            "ItemGUID": "00000000-0000-0000-0000-000000000000",
+            "Weight": 0,
+            "AvailableUnits": -128,
+            "Packaging": {
+                "Type": "18     - Carton",
+                "Color": " brown ",
+                "NumberPerPackage": 0,
+                "RequiresRefridgeration": true,
+                "ShipDate": "2000-12-29T00:00:00Z",
+                "PackageDimensions": null
+            },
+            "CookedSize": null,
+            "AlternativeNames": [],
+            "Providers": [],
+            "SpatialData": null
+        }, {
+            "FoodID": 3,
+            "Name": "Brown Sugar",
+            "UnitPrice": 1.6,
+            "ServingSize": 1,
+            "MeasurementUnit": "TSP.",
+            "ProteinGrams": 0,
+            "FatGrams": 0,
+            "CarbohydrateGrams": 5,
+            "CaloriesPerServing": 16,
+            "IsAvailable": true,
+            "ExpirationDate": "2011-12-28T00:00:00Z",
+            "ItemGUID": "01234567-89ab-cdef-0123-456789abcdef",
+            "Weight": 4.5,
+            "AvailableUnits": 127,
+            "Packaging": null,
+            "CookedSize": null,
+            "AlternativeNames": [],
+            "Providers": [],
+            "SpatialData": null
+        }, {
+            "@odata.type": "#DataJS.Tests.V4.PreparedFood",
+            "FoodID": 4,
+            "Name": "Cobb Salad",
+            "UnitPrice": 1.99,
+            "ServingSize": -1,
+            "MeasurementUnit": "cups",
+            "ProteinGrams": 6,
+            "FatGrams": 1,
+            "CarbohydrateGrams": 3,
+            "CaloriesPerServing": 5,
+            "IsAvailable": true,
+            "ExpirationDate": "2000-12-29T00:00:00Z",
+            "ItemGUID": "01234567-89ab-cdef-0123-456789abcdef",
+            "Weight": 5.674,
+            "AvailableUnits": 127,
+            "Packaging": null,
+            "CookedSize": null,
+            "AlternativeNames": [],
+            "Providers": [],
+            "SpatialData": null,
+            "Instructions": "1.) Open 2.) Eat",
+            "NumberOfIngredients": 4
+        }],
+        "@odata.nextLink": "Foods?$skiptoken=4"
+    }
+}, {
+    description: "Entry with metadata=minimal",
+    header: "application/json;odata.metadata=minimal",
+    usedUrl: "http://localhost:4002/tests/endpoints/FoodStoreDataServiceV4.svc/Foods(0)",
+    input: '{"@odata.context":"http://localhost:4002/tests/endpoints/FoodStoreDataServiceV4.svc/$metadata#Foods/$entity","FoodID":0,"Name":"flour","UnitPrice":0.19999,"ServingSize":1,"MeasurementUnit":"Cup","ProteinGrams":3,"FatGrams":1,"CarbohydrateGrams":20,"CaloriesPerServing":140,"IsAvailable":true,"ExpirationDate":"2010-12-25T12:00:00Z","ItemGUID":"27272727-2727-2727-2727-272727272727","Weight":10,"AvailableUnits":1,"Packaging":{"Type":null,"Color":"","NumberPerPackage":2147483647,"RequiresRefridgeration":false,"ShipDate":"2000-12-29T00:00:00Z","PackageDimensions":{"Length":79228162514264337593543950335,"Height":32767,"Width":9223372036854775807,"Volume":1.7976931348623157E+308}},"CookedSize":{"Length":2,"Height":1,"Width":3,"Volume":6.0},"AlternativeNames":["ground cereal","ground grain"],"Providers":[{"Name":"Flour Provider","Aliases":["fp1","flour provider1"],"Details":{"Telephone":"555-555-555","PreferredCode":1001}},{"Name":"Ground Grains","Aliases":[],"Details":null}],"Sp
 atialData":{"type":"GeometryCollection","geometries":[{"type":"Point","coordinates":[5.0,5.0]}],"crs":{"type":"name","properties":{"name":"EPSG:4326"}}}}',
+    expected: {
+        "@odata.context": "http://localhost:4002/tests/endpoints/FoodStoreDataServiceV4.svc/$metadata#Foods/$entity",
+        "FoodID": 0,
+        "Name": "flour",
+        "UnitPrice": 0.19999,
+        "ServingSize": 1,
+        "MeasurementUnit": "Cup",
+        "ProteinGrams": 3,
+        "FatGrams": 1,
+        "CarbohydrateGrams": 20,
+        "CaloriesPerServing": 140,
+        "IsAvailable": true,
+        "ExpirationDate": "2010-12-25T12:00:00Z",
+        "ItemGUID": "27272727-2727-2727-2727-272727272727",
+        "Weight": 10,
+        "AvailableUnits": 1,
+        "Packaging": {
+            "Type": null,
+            "Color": "",
+            "NumberPerPackage": 2147483647,
+            "RequiresRefridgeration": false,
+            "ShipDate": "2000-12-29T00:00:00Z",
+            "PackageDimensions": {
+                "Length": 79228162514264337593543950335,
+                "Height": 32767,
+                "Width": 9223372036854775807,
+                "Volume": 1.7976931348623157E+308
+            }
+        },
+        "CookedSize": {"Length": 2, "Height": 1, "Width": 3, "Volume": 6.0},
+        "AlternativeNames": ["ground cereal", "ground grain"],
+        "Providers": [{
+            "Name": "Flour Provider",
+            "Aliases": ["fp1", "flour provider1"],
+            "Details": {"Telephone": "555-555-555", "PreferredCode": 1001}
+        }, {"Name": "Ground Grains", "Aliases": [], "Details": null}],
+        "SpatialData": {
+            "type": "GeometryCollection",
+            "geometries": [{"type": "Point", "coordinates": [5.0, 5.0]}],
+            "crs": {"type": "name", "properties": {"name": "EPSG:4326"}}
+        }
+    }
+}, {
+    description: "Collection of Complex with metadata=minimal",
+    header: "application/json;odata.metadata=minimal",
+    usedUrl: "http://localhost:4002/tests/endpoints/FoodStoreDataServiceV4.svc/Foods(0)/Providers",
+    input: '{"@odata.context":"http://localhost:4002/tests/endpoints/FoodStoreDataServiceV4.svc/$metadata#Foods(0)/Providers","value":[{"Name":"Flour Provider","Aliases":["fp1","flour provider1"],"Details":{"Telephone":"555-555-555","PreferredCode":1001}},{"Name":"Ground Grains","Aliases":[],"Details":null}]}',
+    expected: {
+        "@odata.context": "http://localhost:4002/tests/endpoints/FoodStoreDataServiceV4.svc/$metadata#Foods(0)/Providers",
+        "value": [{
+            "Name": "Flour Provider",
+            "Aliases": ["fp1", "flour provider1"],
+            "Details": {"Telephone": "555-555-555", "PreferredCode": 1001}
+        }, {"Name": "Ground Grains", "Aliases": [], "Details": null}]
+    }
+}, {
+    description: "Collection of Simple with metadata=minimal",
+    header: "application/json;odata.metadata=minimal",
+    usedUrl: "http://localhost:4002/tests/endpoints/FoodStoreDataServiceV4.svc/Foods(0)/AlternativeNames",
+    input: '{"@odata.context":"http://localhost:4002/tests/endpoints/FoodStoreDataServiceV4.svc/$metadata#Foods(0)/AlternativeNames","value":["ground cereal","ground grain"]}',
+    expected: {
+        "@odata.context": "http://localhost:4002/tests/endpoints/FoodStoreDataServiceV4.svc/$metadata#Foods(0)/AlternativeNames",
+        "value": ["ground cereal", "ground grain"]
+    }
+}, {
+    description: "Complex Property with metadata=minimal",
+    header: "application/json;odata.metadata=minimal",
+    usedUrl: "http://localhost:4002/tests/endpoints/FoodStoreDataServiceV4.svc/Foods(0)/Packaging",
+    input: '{"@odata.context":"http://localhost:4002/tests/endpoints/FoodStoreDataServiceV4.svc/$metadata#Foods(0)/Packaging","Type":null,"Color":"","NumberPerPackage":2147483647,"RequiresRefridgeration":false,"ShipDate":"2000-12-29T00:00:00Z","PackageDimensions":{"Length":79228162514264337593543950335,"Height":32767,"Width":9223372036854775807,"Volume":1.7976931348623157E+308}}',
+    expected: {
+        "@odata.context": "http://localhost:4002/tests/endpoints/FoodStoreDataServiceV4.svc/$metadata#Foods(0)/Packaging",
+        "Type": null,
+        "Color": "",
+        "NumberPerPackage": 2147483647,
+        "RequiresRefridgeration": false,
+        "ShipDate": "2000-12-29T00:00:00Z",
+        "PackageDimensions": {
+            "Length": 79228162514264337593543950335,
+            "Height": 32767,
+            "Width": 9223372036854775807,
+            "Volume": 1.7976931348623157E+308
+        }
+    }
+}, {
+    description: "Simple Property with metadata=minimal",
+    header: "application/json;odata.metadata=minimal",
+    usedUrl: "http://localhost:4002/tests/endpoints/FoodStoreDataServiceV4.svc/Foods(0)/Name",
+    input: '{"@odata.context":"http://localhost:4002/tests/endpoints/FoodStoreDataServiceV4.svc/$metadata#Foods(0)/Name","value":"flour"}',
+    expected: {
+        "@odata.context": "http://localhost:4002/tests/endpoints/FoodStoreDataServiceV4.svc/$metadata#Foods(0)/Name",
+        "value": "flour"
+    }
 }];
 
 
 var testDataJsonParserMetadataMinimalToFull = [{
-  description: "Feed with metadata=minimal",
-  header:  "application/json;odata.metadata=minimal",
-  usedUrl: "http://localhost:4002/tests/endpoints/FoodStoreDataServiceV4.svc/Foods",
-  input:   '{"@odata.context":"http://localhost:4002/tests/endpoints/FoodStoreDataServiceV4.svc/$metadata#Foods","value":[{"FoodID":0,"Name":"flour","UnitPrice":0.19999,"ServingSize":1,"MeasurementUnit":"Cup","ProteinGrams":3,"FatGrams":1,"CarbohydrateGrams":20,"CaloriesPerServing":140,"IsAvailable":true,"ExpirationDate":"2010-12-25T12:00:00Z","ItemGUID":"27272727-2727-2727-2727-272727272727","Weight":10,"AvailableUnits":1,"Packaging":{"Type":null,"Color":"","NumberPerPackage":2147483647,"RequiresRefridgeration":false,"ShipDate":"2000-12-29T00:00:00Z","PackageDimensions":{"Length":79228162514264337593543950335,"Height":32767,"Width":9223372036854775807,"Volume":1.7976931348623157E+308}},"CookedSize":{"Length":2,"Height":1,"Width":3,"Volume":6.0},"AlternativeNames":["ground cereal","ground grain"],"Providers":[{"Name":"Flour Provider","Aliases":["fp1","flour provider1"],"Details":{"Telephone":"555-555-555","PreferredCode":1001}},{"Name":"Ground Grains","Aliases":[],"Details":null}],"
 SpatialData":{"type":"GeometryCollection","geometries":[{"type":"Point","coordinates":[5.0,5.0]}],"crs":{"type":"name","properties":{"name":"EPSG:4326"}}}},{"FoodID":1,"Name":"sugar","UnitPrice":0.2,"ServingSize":1,"MeasurementUnit":"tsp","ProteinGrams":0,"FatGrams":0,"CarbohydrateGrams":4,"CaloriesPerServing":16,"IsAvailable":false,"ExpirationDate":"2011-12-28T00:00:00Z","ItemGUID":"ffffffff-ffff-ffff-ffff-ffffffffffff","Weight":0.1,"AvailableUnits":0,"Packaging":{"Type":" ","Color":"BLUE","NumberPerPackage":-2147483648,"RequiresRefridgeration":true,"ShipDate":"2000-12-29T00:00:00Z","PackageDimensions":{"Length":-79228162514264337593543950335,"Height":-32768,"Width":-9223372036854775808,"Volume":-1.7976931348623157E+308}},"CookedSize":null,"AlternativeNames":[],"Providers":[],"SpatialData":null},{"FoodID":2,"Name":"1 Chicken Egg","UnitPrice":0.55,"ServingSize":1,"MeasurementUnit":null,"ProteinGrams":6,"FatGrams":1,"CarbohydrateGrams":1,"CaloriesPerServing":70,"IsAvailable":true,"Ex
 pirationDate":"2000-12-29T00:00:00Z","ItemGUID":"00000000-0000-0000-0000-000000000000","Weight":0,"AvailableUnits":-128,"Packaging":{"Type":"18     - Carton","Color":" brown ","NumberPerPackage":0,"RequiresRefridgeration":true,"ShipDate":"2000-12-29T00:00:00Z","PackageDimensions":null},"CookedSize":null,"AlternativeNames":[],"Providers":[],"SpatialData":null},{"FoodID":3,"Name":"Brown Sugar","UnitPrice":1.6,"ServingSize":1,"MeasurementUnit":"TSP.","ProteinGrams":0,"FatGrams":0,"CarbohydrateGrams":5,"CaloriesPerServing":16,"IsAvailable":true,"ExpirationDate":"2011-12-28T00:00:00Z","ItemGUID":"01234567-89ab-cdef-0123-456789abcdef","Weight":4.5,"AvailableUnits":127,"Packaging":null,"CookedSize":null,"AlternativeNames":[],"Providers":[],"SpatialData":null},{"@odata.type":"#DataJS.Tests.V4.PreparedFood","FoodID":4,"Name":"Cobb Salad","UnitPrice":1.99,"ServingSize":-1,"MeasurementUnit":"cups","ProteinGrams":6,"FatGrams":1,"CarbohydrateGrams":3,"CaloriesPerServing":5,"IsAvailable":true,"Ex
 pirationDate":"2000-12-29T00:00:00Z","ItemGUID":"01234567-89ab-cdef-0123-456789abcdef","Weight":5.674,"AvailableUnits":127,"Packaging":null,"CookedSize":null,"AlternativeNames":[],"Providers":[],"SpatialData":null,"Instructions":"1.) Open 2.) Eat","NumberOfIngredients":4}],"@odata.nextLink":"Foods?$skiptoken=4"}',
-  expected: {"@odata.context":"http://localhost:4002/tests/endpoints/FoodStoreDataServiceV4.svc/$metadata#Foods","value":[{"FoodID":0,"Name":"flour","UnitPrice":0.19999,"ServingSize":1,"MeasurementUnit":"Cup","ProteinGrams":3,"FatGrams":1,"CarbohydrateGrams":20,"CaloriesPerServing":140,"IsAvailable":true,"ExpirationDate":"2010-12-25T12:00:00Z","ItemGUID":"27272727-2727-2727-2727-272727272727","Weight":10,"AvailableUnits":1,"Packaging":{"Type":null,"Color":"","NumberPerPackage":2147483647,"RequiresRefridgeration":false,"ShipDate":"2000-12-29T00:00:00Z","PackageDimensions":{"Length":7.922816251426434e+28,"Height":32767,"Width":9223372036854776000,"Volume":1.7976931348623157e+308,"@odata.type":"#DataJS.Tests.V4.Dimensions","Length@odata.type":"#Decimal","Height@odata.type":"#Int16","Width@odata.type":"#Int64","Volume@odata.type":"#Double"},"@odata.type":"#DataJS.Tests.V4.Package","Type@odata.type":"#String","Color@odata.type":"#String","NumberPerPackage@odata.type":"#Int32","RequiresRe
 fridgeration@odata.type":"#Boolean","ShipDate@odata.type":"#DateTimeOffset"},"CookedSize":{"Length":2,"Height":1,"Width":3,"Volume":6,"@odata.type":"#DataJS.Tests.V4.CookedDimensions","Length@odata.type":"#Decimal","Height@odata.type":"#Int16","Width@odata.type":"#Int64","Volume@odata.type":"#Double"},"AlternativeNames":["ground cereal","ground grain"],"Providers":[{"Name":"Flour Provider","Aliases":["fp1","flour provider1"],"Details":{"Telephone":"555-555-555","PreferredCode":1001,"@odata.type":"#DataJS.Tests.V4.ProviderDetails","Telephone@odata.type":"#String","PreferredCode@odata.type":"#Int32"},"@odata.type":"#Collection(DataJS.Tests.V4.Provider)","Name@odata.type":"#String","Aliases@odata.type":"#Collection(String)"},{"Name":"Ground Grains","Aliases":[],"Details":null,"@odata.type":"#Collection(DataJS.Tests.V4.Provider)","Name@odata.type":"#String","Aliases@odata.type":"#Collection(String)","Details@odata.type":"#DataJS.Tests.V4.ProviderDetails"}],"SpatialData":{"type":"Geometr
 yCollection","geometries":[{"type":"Point","coordinates":[5,5]}],"crs":{"type":"name","properties":{"name":"EPSG:4326"}},"@odata.type":"#Edm.GeometryCollection"},"@odata.type":"#DataJS.Tests.V4.Food","@odata.id":"http://localhost:4002/tests/endpoints/FoodStoreDataServiceV4.svc/Foods(0)","@odata.editLink":"Foods(0)","FoodID@odata.type":"#Int32","Name@odata.type":"#String","UnitPrice@odata.type":"#Double","ServingSize@odata.type":"#Decimal","MeasurementUnit@odata.type":"#String","ProteinGrams@odata.type":"#Byte","FatGrams@odata.type":"#Int16","CarbohydrateGrams@odata.type":"#Int32","CaloriesPerServing@odata.type":"#Int64","IsAvailable@odata.type":"#Boolean","ExpirationDate@odata.type":"#DateTimeOffset","ItemGUID@odata.type":"#Guid","Weight@odata.type":"#Single","AvailableUnits@odata.type":"#SByte","AlternativeNames@odata.type":"#Collection(String)","Providers@odata.type":"#Collection(DataJS.Tests.V4.Provider)"},{"FoodID":1,"Name":"sugar","UnitPrice":0.2,"ServingSize":1,"MeasurementUni
 t":"tsp","ProteinGrams":0,"FatGrams":0,"CarbohydrateGrams":4,"CaloriesPerServing":16,"IsAvailable":false,"ExpirationDate":"2011-12-28T00:00:00Z","ItemGUID":"ffffffff-ffff-ffff-ffff-ffffffffffff","Weight":0.1,"AvailableUnits":0,"Packaging":{"Type":" ","Color":"BLUE","NumberPerPackage":-2147483648,"RequiresRefridgeration":true,"ShipDate":"2000-12-29T00:00:00Z","PackageDimensions":{"Length":-7.922816251426434e+28,"Height":-32768,"Width":-9223372036854776000,"Volume":-1.7976931348623157e+308,"@odata.type":"#DataJS.Tests.V4.Dimensions","Length@odata.type":"#Decimal","Height@odata.type":"#Int16","Width@odata.type":"#Int64","Volume@odata.type":"#Double"},"@odata.type":"#DataJS.Tests.V4.Package","Type@odata.type":"#String","Color@odata.type":"#String","NumberPerPackage@odata.type":"#Int32","RequiresRefridgeration@odata.type":"#Boolean","ShipDate@odata.type":"#DateTimeOffset"},"CookedSize":null,"AlternativeNames":[],"Providers":[],"SpatialData":null,"@odata.type":"#DataJS.Tests.V4.Food","@od
 ata.id":"http://localhost:4002/tests/endpoints/FoodStoreDataServiceV4.svc/Foods(1)","@odata.editLink":"Foods(1)","FoodID@odata.type":"#Int32","Name@odata.type":"#String","UnitPrice@odata.type":"#Double","ServingSize@odata.type":"#Decimal","MeasurementUnit@odata.type":"#String","ProteinGrams@odata.type":"#Byte","FatGrams@odata.type":"#Int16","CarbohydrateGrams@odata.type":"#Int32","CaloriesPerServing@odata.type":"#Int64","IsAvailable@odata.type":"#Boolean","ExpirationDate@odata.type":"#DateTimeOffset","ItemGUID@odata.type":"#Guid","Weight@odata.type":"#Single","AvailableUnits@odata.type":"#SByte","CookedSize@odata.type":"#DataJS.Tests.V4.CookedDimensions","AlternativeNames@odata.type":"#Collection(String)","Providers@odata.type":"#Collection(DataJS.Tests.V4.Provider)","SpatialData@odata.type":"#GeometryCollection"},{"FoodID":2,"Name":"1 Chicken Egg","UnitPrice":0.55,"ServingSize":1,"MeasurementUnit":null,"ProteinGrams":6,"FatGrams":1,"CarbohydrateGrams":1,"CaloriesPerServing":70,"IsA
 vailable":true,"ExpirationDate":"2000-12-29T00:00:00Z","ItemGUID":"00000000-0000-0000-0000-000000000000","Weight":0,"AvailableUnits":-128,"Packaging":{"Type":"18     - Carton","Color":" brown ","NumberPerPackage":0,"RequiresRefridgeration":true,"ShipDate":"2000-12-29T00:00:00Z","PackageDimensions":null,"@odata.type":"#DataJS.Tests.V4.Package","Type@odata.type":"#String","Color@odata.type":"#String","NumberPerPackage@odata.type":"#Int32","RequiresRefridgeration@odata.type":"#Boolean","ShipDate@odata.type":"#DateTimeOffset","PackageDimensions@odata.type":"#DataJS.Tests.V4.Dimensions"},"CookedSize":null,"AlternativeNames":[],"Providers":[],"SpatialData":null,"@odata.type":"#DataJS.Tests.V4.Food","@odata.id":"http://localhost:4002/tests/endpoints/FoodStoreDataServiceV4.svc/Foods(2)","@odata.editLink":"Foods(2)","FoodID@odata.type":"#Int32","Name@odata.type":"#String","UnitPrice@odata.type":"#Double","ServingSize@odata.type":"#Decimal","MeasurementUnit@odata.type":"#String","ProteinGrams
 @odata.type":"#Byte","FatGrams@odata.type":"#Int16","CarbohydrateGrams@odata.type":"#Int32","CaloriesPerServing@odata.type":"#Int64","IsAvailable@odata.type":"#Boolean","ExpirationDate@odata.type":"#DateTimeOffset","ItemGUID@odata.type":"#Guid","Weight@odata.type":"#Single","AvailableUnits@odata.type":"#SByte","CookedSize@odata.type":"#DataJS.Tests.V4.CookedDimensions","AlternativeNames@odata.type":"#Collection(String)","Providers@odata.type":"#Collection(DataJS.Tests.V4.Provider)","SpatialData@odata.type":"#GeometryCollection"},{"FoodID":3,"Name":"Brown Sugar","UnitPrice":1.6,"ServingSize":1,"MeasurementUnit":"TSP.","ProteinGrams":0,"FatGrams":0,"CarbohydrateGrams":5,"CaloriesPerServing":16,"IsAvailable":true,"ExpirationDate":"2011-12-28T00:00:00Z","ItemGUID":"01234567-89ab-cdef-0123-456789abcdef","Weight":4.5,"AvailableUnits":127,"Packaging":null,"CookedSize":null,"AlternativeNames":[],"Providers":[],"SpatialData":null,"@odata.type":"#DataJS.Tests.V4.Food","@odata.id":"http://loca
 lhost:4002/tests/endpoints/FoodStoreDataServiceV4.svc/Foods(3)","@odata.editLink":"Foods(3)","FoodID@odata.type":"#Int32","Name@odata.type":"#String","UnitPrice@odata.type":"#Double","ServingSize@odata.type":"#Decimal","MeasurementUnit@odata.type":"#String","ProteinGrams@odata.type":"#Byte","FatGrams@odata.type":"#Int16","CarbohydrateGrams@odata.type":"#Int32","CaloriesPerServing@odata.type":"#Int64","IsAvailable@odata.type":"#Boolean","ExpirationDate@odata.type":"#DateTimeOffset","ItemGUID@odata.type":"#Guid","Weight@odata.type":"#Single","AvailableUnits@odata.type":"#SByte","Packaging@odata.type":"#DataJS.Tests.V4.Package","CookedSize@odata.type":"#DataJS.Tests.V4.CookedDimensions","AlternativeNames@odata.type":"#Collection(String)","Providers@odata.type":"#Collection(DataJS.Tests.V4.Provider)","SpatialData@odata.type":"#GeometryCollection"},{"@odata.type":"#DataJS.Tests.V4.PreparedFood","FoodID":4,"Name":"Cobb Salad","UnitPrice":1.99,"ServingSize":-1,"MeasurementUnit":"cups","Pro
 teinGrams":6,"FatGrams":1,"CarbohydrateGrams":3,"CaloriesPerServing":5,"IsAvailable":true,"ExpirationDate":"2000-12-29T00:00:00Z","ItemGUID":"01234567-89ab-cdef-0123-456789abcdef","Weight":5.674,"AvailableUnits":127,"Packaging":null,"CookedSize":null,"AlternativeNames":[],"Providers":[],"SpatialData":null,"Instructions":"1.) Open 2.) Eat","NumberOfIngredients":4,"@odata.id":"http://localhost:4002/tests/endpoints/FoodStoreDataServiceV4.svc/Foods(4)","@odata.editLink":"Foods(4)","FoodID@odata.type":"#Int32","Name@odata.type":"#String","UnitPrice@odata.type":"#Double","ServingSize@odata.type":"#Decimal","MeasurementUnit@odata.type":"#String","ProteinGrams@odata.type":"#Byte","FatGrams@odata.type":"#Int16","CarbohydrateGrams@odata.type":"#Int32","CaloriesPerServing@odata.type":"#Int64","IsAvailable@odata.type":"#Boolean","ExpirationDate@odata.type":"#DateTimeOffset","ItemGUID@odata.type":"#Guid","Weight@odata.type":"#Single","AvailableUnits@odata.type":"#SByte","Packaging@odata.type":"#
 DataJS.Tests.V4.Package","CookedSize@odata.type":"#DataJS.Tests.V4.CookedDimensions","AlternativeNames@odata.type":"#Collection(String)","Providers@odata.type":"#Collection(DataJS.Tests.V4.Provider)","SpatialData@odata.type":"#GeometryCollection","Instructions@odata.type":"#String","NumberOfIngredients@odata.type":"#Single"}],"@odata.nextLink":"Foods?$skiptoken=4"}
-},{
-  description: "Entry with metadata=minimal",
-  header:  "application/json;odata.metadata=minimal",
-  usedUrl: "http://localhost:4002/tests/endpoints/FoodStoreDataServiceV4.svc/Foods(0)",
-  input:   '{"@odata.context":"http://localhost:4002/tests/endpoints/FoodStoreDataServiceV4.svc/$metadata#Foods/$entity","FoodID":0,"Name":"flour","UnitPrice":0.19999,"ServingSize":1,"MeasurementUnit":"Cup","ProteinGrams":3,"FatGrams":1,"CarbohydrateGrams":20,"CaloriesPerServing":140,"IsAvailable":true,"ExpirationDate":"2010-12-25T12:00:00Z","ItemGUID":"27272727-2727-2727-2727-272727272727","Weight":10,"AvailableUnits":1,"Packaging":{"Type":null,"Color":"","NumberPerPackage":2147483647,"RequiresRefridgeration":false,"ShipDate":"2000-12-29T00:00:00Z","PackageDimensions":{"Length":79228162514264337593543950335,"Height":32767,"Width":9223372036854775807,"Volume":1.7976931348623157E+308}},"CookedSize":{"Length":2,"Height":1,"Width":3,"Volume":6.0},"AlternativeNames":["ground cereal","ground grain"],"Providers":[{"Name":"Flour Provider","Aliases":["fp1","flour provider1"],"Details":{"Telephone":"555-555-555","PreferredCode":1001}},{"Name":"Ground Grains","Aliases":[],"Details":null}],"Sp
 atialData":{"type":"GeometryCollection","geometries":[{"type":"Point","coordinates":[5.0,5.0]}],"crs":{"type":"name","properties":{"name":"EPSG:4326"}}}}',
-  expected: {"@odata.context":"http://localhost:4002/tests/endpoints/FoodStoreDataServiceV4.svc/$metadata#Foods/$entity","FoodID":0,"Name":"flour","UnitPrice":0.19999,"ServingSize":1,"MeasurementUnit":"Cup","ProteinGrams":3,"FatGrams":1,"CarbohydrateGrams":20,"CaloriesPerServing":140,"IsAvailable":true,"ExpirationDate":"2010-12-25T12:00:00Z","ItemGUID":"27272727-2727-2727-2727-272727272727","Weight":10,"AvailableUnits":1,"Packaging":{"Type":null,"Color":"","NumberPerPackage":2147483647,"RequiresRefridgeration":false,"ShipDate":"2000-12-29T00:00:00Z","PackageDimensions":{"Length":7.922816251426434e+28,"Height":32767,"Width":9223372036854776000,"Volume":1.7976931348623157e+308,"@odata.type":"#DataJS.Tests.V4.Dimensions","Length@odata.type":"#Decimal","Height@odata.type":"#Int16","Width@odata.type":"#Int64","Volume@odata.type":"#Double"},"@odata.type":"#DataJS.Tests.V4.Package","Type@odata.type":"#String","Color@odata.type":"#String","NumberPerPackage@odata.type":"#Int32","RequiresRefr
 idgeration@odata.type":"#Boolean","ShipDate@odata.type":"#DateTimeOffset"},"CookedSize":{"Length":2,"Height":1,"Width":3,"Volume":6,"@odata.type":"#DataJS.Tests.V4.CookedDimensions","Length@odata.type":"#Decimal","Height@odata.type":"#Int16","Width@odata.type":"#Int64","Volume@odata.type":"#Double"},"AlternativeNames":["ground cereal","ground grain"],"Providers":[{"Name":"Flour Provider","Aliases":["fp1","flour provider1"],"Details":{"Telephone":"555-555-555","PreferredCode":1001,"@odata.type":"#DataJS.Tests.V4.ProviderDetails","Telephone@odata.type":"#String","PreferredCode@odata.type":"#Int32"},"@odata.type":"#Collection(DataJS.Tests.V4.Provider)","Name@odata.type":"#String","Aliases@odata.type":"#Collection(String)"},{"Name":"Ground Grains","Aliases":[],"Details":null,"@odata.type":"#Collection(DataJS.Tests.V4.Provider)","Name@odata.type":"#String","Aliases@odata.type":"#Collection(String)","Details@odata.type":"#DataJS.Tests.V4.ProviderDetails"}],"SpatialData":{"type":"GeometryC
 ollection","geometries":[{"type":"Point","coordinates":[5,5]}],"crs":{"type":"name","properties":{"name":"EPSG:4326"}},"@odata.type":"#Edm.GeometryCollection"},"@odata.type":"#DataJS.Tests.V4.Food","@odata.id":"http://localhost:4002/tests/endpoints/FoodStoreDataServiceV4.svc/Foods(0)","@odata.editLink":"Foods(0)","FoodID@odata.type":"#Int32","Name@odata.type":"#String","UnitPrice@odata.type":"#Double","ServingSize@odata.type":"#Decimal","MeasurementUnit@odata.type":"#String","ProteinGrams@odata.type":"#Byte","FatGrams@odata.type":"#Int16","CarbohydrateGrams@odata.type":"#Int32","CaloriesPerServing@odata.type":"#Int64","IsAvailable@odata.type":"#Boolean","ExpirationDate@odata.type":"#DateTimeOffset","ItemGUID@odata.type":"#Guid","Weight@odata.type":"#Single","AvailableUnits@odata.type":"#SByte","AlternativeNames@odata.type":"#Collection(String)","Providers@odata.type":"#Collection(DataJS.Tests.V4.Provider)"}
-},{
-  description: "Collection of Complex with metadata=minimal",
-  header:  "application/json;odata.metadata=minimal",
-  usedUrl: "http://localhost:4002/tests/endpoints/FoodStoreDataServiceV4.svc/Foods(0)/Providers",
-  input:   '{"@odata.context":"http://localhost:4002/tests/endpoints/FoodStoreDataServiceV4.svc/$metadata#Foods(0)/Providers","value":[{"Name":"Flour Provider","Aliases":["fp1","flour provider1"],"Details":{"Telephone":"555-555-555","PreferredCode":1001}},{"Name":"Ground Grains","Aliases":[],"Details":null}]}',
-  expected: {"@odata.context":"http://localhost:4002/tests/endpoints/FoodStoreDataServiceV4.svc/$metadata#Foods(0)/Providers","value":[{"Name":"Flour Provider","Aliases":["fp1","flour provider1"],"Details":{"Telephone":"555-555-555","PreferredCode":1001,"@odata.type":"#DataJS.Tests.V4.ProviderDetails","Telephone@odata.type":"#String","PreferredCode@odata.type":"#Int32"},"@odata.type":"#DataJS.Tests.V4.Provider","Name@odata.type":"#String","Aliases@odata.type":"#Collection(String)"},{"Name":"Ground Grains","Aliases":[],"Details":null,"@odata.type":"#DataJS.Tests.V4.Provider","Name@odata.type":"#String","Aliases@odata.type":"#Collection(String)","Details@odata.type":"#DataJS.Tests.V4.ProviderDetails"}],"@odata.type":"#Collection(DataJS.Tests.V4.Provider)"}
-},{
-  description: "Collection of Simple with metadata=minimal",
-  header:  "application/json;odata.metadata=minimal",
-  usedUrl: "http://localhost:4002/tests/endpoints/FoodStoreDataServiceV4.svc/Foods(0)/AlternativeNames",
-  input:   '{"@odata.context":"http://localhost:4002/tests/endpoints/FoodStoreDataServiceV4.svc/$metadata#Foods(0)/AlternativeNames","value":["ground cereal","ground grain"]}',
-  expected: {"@odata.context":"http://localhost:4002/tests/endpoints/FoodStoreDataServiceV4.svc/$metadata#Foods(0)/AlternativeNames","@odata.type":"#Collection(String)","value":["ground cereal","ground grain"]}
-},{
-  description: "Complex Property with metadata=minimal",
-  header:  "application/json;odata.metadata=minimal",
-  usedUrl: "http://localhost:4002/tests/endpoints/FoodStoreDataServiceV4.svc/Foods(0)/Packaging",
-  input:   '{"@odata.context":"http://localhost:4002/tests/endpoints/FoodStoreDataServiceV4.svc/$metadata#Foods(0)/Packaging","Type":null,"Color":"","NumberPerPackage":2147483647,"RequiresRefridgeration":false,"ShipDate":"2000-12-29T00:00:00Z","PackageDimensions":{"Length":79228162514264337593543950335,"Height":32767,"Width":9223372036854775807,"Volume":1.7976931348623157E+308}}',
-  expected: {"@odata.context":"http://localhost:4002/tests/endpoints/FoodStoreDataServiceV4.svc/$metadata#Foods(0)/Packaging","Type":null,"Color":"","NumberPerPackage":2147483647,"RequiresRefridgeration":false,"ShipDate":"2000-12-29T00:00:00Z","PackageDimensions":{"Length":7.922816251426434e+28,"Height":32767,"Width":9223372036854776000,"Volume":1.7976931348623157e+308,"@odata.type":"#DataJS.Tests.V4.Dimensions","Length@odata.type":"#Decimal","Height@odata.type":"#Int16","Width@odata.type":"#Int64","Volume@odata.type":"#Double"},"@odata.type":"#DataJS.Tests.V4.Package","Type@odata.type":"#String","Color@odata.type":"#String","NumberPerPackage@odata.type":"#Int32","RequiresRefridgeration@odata.type":"#Boolean","ShipDate@odata.type":"#DateTimeOffset"}
-},{
-  description: "Simple Property with metadata=minimal",
-  header:  "application/json;odata.metadata=minimal",
-  usedUrl: "http://localhost:4002/tests/endpoints/FoodStoreDataServiceV4.svc/Foods(0)/Name",
-  input:   '{"@odata.context":"http://localhost:4002/tests/endpoints/FoodStoreDataServiceV4.svc/$metadata#Foods(0)/Name","value":"flour"}',
-  expected: {"@odata.context":"http://localhost:4002/tests/endpoints/FoodStoreDataServiceV4.svc/$metadata#Foods(0)/Name","value":"flour","value@odata.type":"#String"}
+    description: "Feed with metadata=minimal",
+    header: "application/json;odata.metadata=minimal",
+    usedUrl: "http://localhost:4002/tests/endpoints/FoodStoreDataServiceV4.svc/Foods",
+    input: '{"@odata.context":"http://localhost:4002/tests/endpoints/FoodStoreDataServiceV4.svc/$metadata#Foods","value":[{"FoodID":0,"Name":"flour","UnitPrice":0.19999,"ServingSize":1,"MeasurementUnit":"Cup","ProteinGrams":3,"FatGrams":1,"CarbohydrateGrams":20,"CaloriesPerServing":140,"IsAvailable":true,"ExpirationDate":"2010-12-25T12:00:00Z","ItemGUID":"27272727-2727-2727-2727-272727272727","Weight":10,"AvailableUnits":1,"Packaging":{"Type":null,"Color":"","NumberPerPackage":2147483647,"RequiresRefridgeration":false,"ShipDate":"2000-12-29T00:00:00Z","PackageDimensions":{"Length":79228162514264337593543950335,"Height":32767,"Width":9223372036854775807,"Volume":1.7976931348623157E+308}},"CookedSize":{"Length":2,"Height":1,"Width":3,"Volume":6.0},"AlternativeNames":["ground cereal","ground grain"],"Providers":[{"Name":"Flour Provider","Aliases":["fp1","flour provider1"],"Details":{"Telephone":"555-555-555","PreferredCode":1001}},{"Name":"Ground Grains","Aliases":[],"Details":null}],"
 SpatialData":{"type":"GeometryCollection","geometries":[{"type":"Point","coordinates":[5.0,5.0]}],"crs":{"type":"name","properties":{"name":"EPSG:4326"}}}},{"FoodID":1,"Name":"sugar","UnitPrice":0.2,"ServingSize":1,"MeasurementUnit":"tsp","ProteinGrams":0,"FatGrams":0,"CarbohydrateGrams":4,"CaloriesPerServing":16,"IsAvailable":false,"ExpirationDate":"2011-12-28T00:00:00Z","ItemGUID":"ffffffff-ffff-ffff-ffff-ffffffffffff","Weight":0.1,"AvailableUnits":0,"Packaging":{"Type":" ","Color":"BLUE","NumberPerPackage":-2147483648,"RequiresRefridgeration":true,"ShipDate":"2000-12-29T00:00:00Z","PackageDimensions":{"Length":-79228162514264337593543950335,"Height":-32768,"Width":-9223372036854775808,"Volume":-1.7976931348623157E+308}},"CookedSize":null,"AlternativeNames":[],"Providers":[],"SpatialData":null},{"FoodID":2,"Name":"1 Chicken Egg","UnitPrice":0.55,"ServingSize":1,"MeasurementUnit":null,"ProteinGrams":6,"FatGrams":1,"CarbohydrateGrams":1,"CaloriesPerServing":70,"IsAvailable":true,"Ex
 pirationDate":"2000-12-29T00:00:00Z","ItemGUID":"00000000-0000-0000-0000-000000000000","Weight":0,"AvailableUnits":-128,"Packaging":{"Type":"18     - Carton","Color":" brown ","NumberPerPackage":0,"RequiresRefridgeration":true,"ShipDate":"2000-12-29T00:00:00Z","PackageDimensions":null},"CookedSize":null,"AlternativeNames":[],"Providers":[],"SpatialData":null},{"FoodID":3,"Name":"Brown Sugar","UnitPrice":1.6,"ServingSize":1,"MeasurementUnit":"TSP.","ProteinGrams":0,"FatGrams":0,"CarbohydrateGrams":5,"CaloriesPerServing":16,"IsAvailable":true,"ExpirationDate":"2011-12-28T00:00:00Z","ItemGUID":"01234567-89ab-cdef-0123-456789abcdef","Weight":4.5,"AvailableUnits":127,"Packaging":null,"CookedSize":null,"AlternativeNames":[],"Providers":[],"SpatialData":null},{"@odata.type":"#DataJS.Tests.V4.PreparedFood","FoodID":4,"Name":"Cobb Salad","UnitPrice":1.99,"ServingSize":-1,"MeasurementUnit":"cups","ProteinGrams":6,"FatGrams":1,"CarbohydrateGrams":3,"CaloriesPerServing":5,"IsAvailable":true,"Ex
 pirationDate":"2000-12-29T00:00:00Z","ItemGUID":"01234567-89ab-cdef-0123-456789abcdef","Weight":5.674,"AvailableUnits":127,"Packaging":null,"CookedSize":null,"AlternativeNames":[],"Providers":[],"SpatialData":null,"Instructions":"1.) Open 2.) Eat","NumberOfIngredients":4}],"@odata.nextLink":"Foods?$skiptoken=4"}',
+    expected: {
+        "@odata.context": "http://localhost:4002/tests/endpoints/FoodStoreDataServiceV4.svc/$metadata#Foods",
+        "value": [{
+            "FoodID": 0,
+            "Name": "flour",
+            "UnitPrice": 0.19999,
+            "ServingSize": 1,
+            "MeasurementUnit": "Cup",
+            "ProteinGrams": 3,
+            "FatGrams": 1,
+            "CarbohydrateGrams": 20,
+            "CaloriesPerServing": 140,
+            "IsAvailable": true,
+            "ExpirationDate": "2010-12-25T12:00:00Z",
+            "ItemGUID": "27272727-2727-2727-2727-272727272727",
+            "Weight": 10,
+            "AvailableUnits": 1,
+            "Packaging": {
+                "Type": null,
+                "Color": "",
+                "NumberPerPackage": 2147483647,
+                "RequiresRefridgeration": false,
+                "ShipDate": "2000-12-29T00:00:00Z",
+                "PackageDimensions": {
+                    "Length": 7.922816251426434e+28,
+                    "Height": 32767,
+                    "Width": 9223372036854776000,
+                    "Volume": 1.7976931348623157e+308,
+                    "@odata.type": "#DataJS.Tests.V4.Dimensions",
+                    "Length@odata.type": "#Decimal",
+                    "Height@odata.type": "#Int16",
+                    "Width@odata.type": "#Int64",
+                    "Volume@odata.type": "#Double"
+                },
+                "@odata.type": "#DataJS.Tests.V4.Package",
+                "Type@odata.type": "#String",
+                "Color@odata.type": "#String",
+                "NumberPerPackage@odata.type": "#Int32",
+                "RequiresRefridgeration@odata.type": "#Boolean",
+                "ShipDate@odata.type": "#DateTimeOffset"
+            },
+            "CookedSize": {
+                "Length": 2,
+                "Height": 1,
+                "Width": 3,
+                "Volume": 6,
+                "@odata.type": "#DataJS.Tests.V4.CookedDimensions",
+                "Length@odata.type": "#Decimal",
+                "Height@odata.type": "#Int16",
+                "Width@odata.type": "#Int64",
+                "Volume@odata.type": "#Double"
+            },
+            "AlternativeNames": ["ground cereal", "ground grain"],
+            "Providers": [{
+                "Name": "Flour Provider",
+                "Aliases": ["fp1", "flour provider1"],
+                "Details": {
+                    "Telephone": "555-555-555",
+                    "PreferredCode": 1001,
+                    "@odata.type": "#DataJS.Tests.V4.ProviderDetails",
+                    "Telephone@odata.type": "#String",
+                    "PreferredCode@odata.type": "#Int32"
+                },
+                "@odata.type": "#Collection(DataJS.Tests.V4.Provider)",
+                "Name@odata.type": "#String",
+                "Aliases@odata.type": "#Collection(String)"
+            }, {
+                "Name": "Ground Grains",
+                "Aliases": [],
+                "Details": null,
+                "@odata.type": "#Collection(DataJS.Tests.V4.Provider)",
+                "Name@odata.type": "#String",
+                "Aliases@odata.type": "#Collection(String)",
+                "Details@odata.type": "#DataJS.Tests.V4.ProviderDetails"
+            }],
+            "SpatialData": {
+                "type": "GeometryCollection",
+                "geometries": [{"type": "Point", "coordinates": [5, 5]}],
+                "crs": {"type": "name", "properties": {"name": "EPSG:4326"}},
+                "@odata.type": "#Edm.GeometryCollection"
+            },
+            "@odata.type": "#DataJS.Tests.V4.Food",
+            "@odata.id": "http://localhost:4002/tests/endpoints/FoodStoreDataServiceV4.svc/Foods(0)",
+            "@odata.editLink": "Foods(0)",
+            "FoodID@odata.type": "#Int32",
+            "Name@odata.type": "#String",
+            "UnitPrice@odata.type": "#Double",
+            "ServingSize@odata.type": "#Decimal",
+            "MeasurementUnit@odata.type": "#String",
+            "ProteinGrams@odata.type": "#Byte",
+            "FatGrams@odata.type": "#Int16",
+            "CarbohydrateGrams@odata.type": "#Int32",
+            "CaloriesPerServing@odata.type": "#Int64",
+            "IsAvailable@odata.type": "#Boolean",
+            "ExpirationDate@odata.type": "#DateTimeOffset",
+            "ItemGUID@odata.type": "#Guid",
+            "Weight@odata.type": "#Single",
+            "AvailableUnits@odata.type": "#SByte",
+            "AlternativeNames@odata.type": "#Collection(String)",
+            "Providers@odata.type": "#Collection(DataJS.Tests.V4.Provider)"
+        }, {
+            "FoodID": 1,
+            "Name": "sugar",
+            "UnitPrice": 0.2,
+            "ServingSize": 1,
+            "MeasurementUnit": "tsp",
+            "ProteinGrams": 0,
+            "FatGrams": 0,
+            "CarbohydrateGrams": 4,
+            "CaloriesPerServing": 16,
+            "IsAvailable": false,
+            "ExpirationDate": "2011-12-28T00:00:00Z",
+            "ItemGUID": "ffffffff-ffff-ffff-ffff-ffffffffffff",
+            "Weight": 0.1,
+            "AvailableUnits": 0,
+            "Packaging": {
+                "Type": " ",
+                "Color": "BLUE",
+                "NumberPerPackage": -2147483648,
+                "RequiresRefridgeration": true,
+                "ShipDate": "2000-12-29T00:00:00Z",
+                "PackageDimensions": {
+                    "Length": -7.922816251426434e+28,
+                    "Height": -32768,
+                    "Width": -9223372036854776000,
+                    "Volume": -1.7976931348623157e+308,
+                    "@odata.type": "#DataJS.Tests.V4.Dimensions",
+                    "Length@odata.type": "#Decimal",
+                    "Height@odata.type": "#Int16",
+                    "Width@odata.type": "#Int64",
+                    "Volume@odata.type": "#Double"
+                },
+                "@odata.type": "#DataJS.Tests.V4.Package",
+                "Type@odata.type": "#String",
+                "Color@odata.type": "#String",
+                "NumberPerPackage@odata.type": "#Int32",
+                "RequiresRefridgeration@odata.type": "#Boolean",
+                "ShipDate@odata.type": "#DateTimeOffset"
+            },
+            "CookedSize": null,
+            "AlternativeNames": [],
+            "Providers": [],
+            "SpatialData": null,
+            "@odata.type": "#DataJS.Tests.V4.Food",
+            "@odata.id": "http://localhost:4002/tests/endpoints/FoodStoreDataServiceV4.svc/Foods(1)",
+            "@odata.editLink": "Foods(1)",
+            "FoodID@odata.type": "#Int32",
+            "Name@odata.type": "#String",
+            "UnitPrice@odata.type": "#Double",
+            "ServingSize@odata.type": "#Decimal",
+            "MeasurementUnit@odata.type": "#String",
+            "ProteinGrams@odata.type": "#Byte",
+            "FatGrams@odata.type": "#Int16",
+            "CarbohydrateGrams@odata.type": "#Int32",
+            "CaloriesPerServing@odata.type": "#Int64",
+            "IsAvailable@odata.type": "#Boolean",
+            "ExpirationDate@odata.type": "#DateTimeOffset",
+            "ItemGUID@odata.type": "#Guid",
+            "Weight@odata.type": "#Single",
+            "AvailableUnits@odata.type": "#SByte",
+            "CookedSize@odata.type": "#DataJS.Tests.V4.CookedDimensions",
+            "AlternativeNames@odata.type": "#Collection(String)",
+            "Providers@odata.type": "#Collection(DataJS.Tests.V4.Provider)",
+            "SpatialData@odata.type": "#GeometryCollection"
+        }, {
+            "FoodID": 2,
+            "Name": "1 Chicken Egg",
+            "UnitPrice": 0.55,
+            "ServingSize": 1,
+            "MeasurementUnit": null,
+            "ProteinGrams": 6,
+            "FatGrams": 1,
+            "CarbohydrateGrams": 1,
+            "CaloriesPerServing": 70,
+            "IsAvailable": true,
+            "ExpirationDate": "2000-12-29T00:00:00Z",
+            "ItemGUID": "00000000-0000-0000-0000-000000000000",
+            "Weight": 0,
+            "AvailableUnits": -128,
+            "Packaging": {
+                "Type": "18     - Carton",
+                "Color": " brown ",
+                "NumberPerPackage": 0,
+                "RequiresRefridgeration": true,
+                "ShipDate": "2000-12-29T00:00:00Z",
+                "PackageDimensions": null,
+                "@odata.type": "#DataJS.Tests.V4.Package",
+                "Type@odata.type": "#String",
+                "Color@odata.type": "#String",
+                "NumberPerPackage@odata.type": "#Int32",
+                "RequiresRefridgeration@odata.type": "#Boolean",
+                "ShipDate@odata.type": "#DateTimeOffset",
+                "PackageDimensions@odata.type": "#DataJS.Tests.V4.Dimensions"
+            },
+            "CookedSize": null,
+            "AlternativeNames": [],
+            "Providers": [],
+            "SpatialData": null,
+            "@odata.type": "#DataJS.Tests.V4.Food",
+            "@odata.id": "http://localhost:4002/tests/endpoints/FoodStoreDataServiceV4.svc/Foods(2)",
+            "@odata.editLink": "Foods(2)",
+            "FoodID@odata.type": "#Int32",
+            "Name@odata.type": "#String",
+            "UnitPrice@odata.type": "#Double",
+            "ServingSize@odata.type": "#Decimal",
+            "MeasurementUnit@odata.type": "#String",
+            "ProteinGrams@odata.type": "#Byte",
+            "FatGrams@odata.type": "#Int16",
+            "CarbohydrateGrams@odata.type": "#Int32",
+            "CaloriesPerServing@odata.type": "#Int64",
+            "IsAvailable@odata.type": "#Boolean",
+            "ExpirationDate@odata.type": "#DateTimeOffset",
+            "ItemGUID@odata.type": "#Guid",
+            "Weight@odata.type": "#Single",
+            "AvailableUnits@odata.type": "#SByte",
+            "CookedSize@odata.type": "#DataJS.Tests.V4.CookedDimensions",
+            "AlternativeNames@odata.type": "#Collection(String)",
+            "Providers@odata.type": "#Collection(DataJS.Tests.V4.Provider)",
+            "SpatialData@odata.type": "#GeometryCollection"
+        }, {
+            "FoodID": 3,
+            "Name": "Brown Sugar",
+            "UnitPrice": 1.6,
+            "ServingSize": 1,
+            "MeasurementUnit": "TSP.",
+            "ProteinGrams": 0,
+            "FatGrams": 0,
+            "CarbohydrateGrams": 5,
+            "CaloriesPerServing": 16,
+            "IsAvailable": true,
+            "ExpirationDate": "2011-12-28T00:00:00Z",
+            "ItemGUID": "01234567-89ab-cdef-0123-456789abcdef",
+            "Weight": 4.5,
+            "AvailableUnits": 127,
+            "Packaging": null,
+            "CookedSize": null,
+            "AlternativeNames": [],
+            "Providers": [],
+            "SpatialData": null,
+            "@odata.type": "#DataJS.Tests.V4.Food",
+            "@odata.id": "http://localhost:4002/tests/endpoints/FoodStoreDataServiceV4.svc/Foods(3)",
+            "@odata.editLink": "Foods(3)",
+            "FoodID@odata.type": "#Int32",
+            "Name@odata.type": "#String",
+            "UnitPrice@odata.type": "#Double",
+            "ServingSize@odata.type": "#Decimal",
+            "MeasurementUnit@odata.type": "#String",
+            "ProteinGrams@odata.type": "#Byte",
+            "FatGrams@odata.type": "#Int16",
+            "CarbohydrateGrams@odata.type": "#Int32",
+            "CaloriesPerServing@odata.type": "#Int64",
+            "IsAvailable@odata.type": "#Boolean",
+            "ExpirationDate@odata.type": "#DateTimeOffset",
+            "ItemGUID@odata.type": "#Guid",
+            "Weight@odata.type": "#Single",
+            "AvailableUnits@odata.type": "#SByte"

<TRUNCATED>