If you have an array of objects, using the following way we can iterate through each object
"lineItems": [
{{#each record.salesOrderLookup as |item|}}
{
"partNumber": "{{item.partNumber}}",
"quantity":{{item.quantity}},
"unitPrice": {{item.unitPrice}},
"estimatedShipDate": "{{item.estimatedShipDate}}"
}{{#if @last}}{{else}},{{/if}}
{{/each}}
]