e.g. i'd like to make a data type that models { "response": [ { "id": 5555, "brandId": 10, "productTypeId": 1, "identity": { "sku": "ABCDEF", "ean": "1111", "barcode": "2222" }, "productGroupId": 17, "stock": { "stockTracked": true, "weight": { "magnitude": 0 }, "dimensions": { "length": 0, "height": 0, "width": 0, "volume": 0 } }, ] }