Transform an array of objects

[
    {
        "value": "{\n    \"shipping_method\": \"Bluestem_FED_API\",\n    \"order_id\": 242662901,\n    \"profile\": \"bluestem\",\n    \"fulfillment_status\": \"pending\",\n    \"order_number\": \"MO31\",\n    \"shop_name\": \"Manual Order\",\n    \"account_id\": 5927,\n    \"partner_order_id\": \"MO31\",\n    \"shipping_name\": \"Manual Order Shipping Method\",\n    \"tax_type\": null,\n    \"tax_id\": null,\n    \"incoterms\": null,\n    \"currency\": \"USD\",\n    \"from_address\": {\n        \"name\": \"ShipHero\",\n        \"company_name\": \"ShipHero\",\n        \"address_1\": \"123 First St.\",\n        \"address_2\": \"\",\n        \"email\": \"help@shiphero.com\",\n        \"city\": \"Anytown\",\n        \"state\": \"CA\",\n        \"zip\": \"90210\",\n        \"country\": \"US\",\n        \"phone\": \"1234567890\"\n    },\n    \"to_address\": {\n        \"name\": \"Test Order\",\n        \"company_name\": \"\",\n        \"address_1\": \"1 MAIN ST\",\n        \"address_2\": \"\",\n        \"email\": \"help@shiphero.com\",\n        \"city\": \"Anytown\",\n        \"state\": \"CA\",\n        \"zip\": \"90210\",\n        \"country\": \"US\",\n        \"phone\": \"1234567890\"\n    },\n    \"packages\": [\n        {\n            \"name\": \"Package 1\",\n            \"weight_in_oz\": 4,\n            \"width\": 12,\n            \"length\": 15,\n            \"height\": 4,\n            \"line_items\": [\n                {\n                    \"sku\": \"shiphero-socks-black\",\n                    \"tariff_code\": \"00.00.00.000\",\n                    \"price\": 0,\n                    \"customs_description\": \"ShipHero Socks - Black\",\n                    \"customs_value\": \"0.01\",\n                    \"line_item_id\": 639727287,\n                    \"quantity\": 1,\n                    \"weight\": 1.92,\n                    \"partner_line_item_id\": \"MO31-299273207\",\n                    \"id\": \"MO31-299273207\",\n                    \"country_of_manufacture\": \"\",\n                    \"product_name\": \"ShipHero Socks - Black\",\n                    \"name\": \"ShipHero Socks - Black\",\n                    \"ignore_on_customs\": false\n               },\n               {\n                   \"sku\": \"shiphero-socks-blue\",\n                   \"tariff_code\": \"00.00.00.000\",\n                   \"price\": 0,\n                   \"customs_description\": \"ShipHero Socks - Blue\",\n                   \"customs_value\": \"0.01\",\n                   \"line_item_id\": 639727288,\n                   \"quantity\": 1,\n                   \"weight\": 1.92,\n                   \"partner_line_item_id\": \"MO31-299273245\",\n                   \"id\": \"MO31-299273245\",\n                   \"country_of_manufacture\": \"\",\n                   \"product_name\": \"ShipHero Socks - Blue\",\n                   \"name\": \"ShipHero Socks - Blue\",\n                   \"ignore_on_customs\": false\n              }\n        ],\n        \"box_code\": \"custom\",\n        \"box_id\": 5612,\n        \"box_name\": \"12x15 Poly Mailer\"\n    },\n    {\n        \"name\": \"Package 2\",\n        \"weight_in_oz\": 1.08,\n        \"width\": 8,\n        \"length\": 12,\n        \"height\": 2,\n        \"line_items\": [\n            {\n                \"sku\": \"shiphero-hero\",\n                \"tariff_code\": \"00.00.00.000\",\n                \"price\": 0,\n                \"customs_description\": \"ShipHero Hero \",\n                \"customs_value\": \"0.01\",\n                \"line_item_id\": 639727284,\n                \"quantity\": 1,\n                \"weight\": 0.92,\n                \"partner_line_item_id\": \"MO31-299273995\",\n                \"id\": \"MO31-299273995\",\n                \"country_of_manufacture\": \"\",\n                \"product_name\": \"ShipHero Hero \",\n                \"name\": \"ShipHero Hero \",\n                \"ignore_on_customs\": false\n            },\n            {\n                \"sku\": \"shiphero-knit-hat\",\n                \"tariff_code\": \"00.00.00.000\",\n                \"price\": 0,\n                \"customs_description\": \"ShipHero Knit Hat \",\n                \"customs_value\": \"0.01\",\n                \"line_item_id\": 639727285,\n                \"quantity\": 1,\n                \"weight\": 2.19,\n                \"partner_line_item_id\": \"MO31-299273169\",\n                \"id\": \"MO31-299273169\",\n                \"country_of_manufacture\": \"\",\n                \"product_name\": \"ShipHero Knit Hat \",\n                \"name\": \"ShipHero Knit Hat \",\n                \"ignore_on_customs\": false\n            }\n        ],\n        \"box_code\": \"custom\",\n        \"box_id\": 5565,\n        \"box_name\": \"2 x 8 Poly Mailer\"\n       }\n    ]\n}"
    }
]

There are more data in the collection than I need. I only need to keep “weight_in_oz”, “width”, “length”, and “height” from each collection inside package array.