{#each legs ?? [] as leg}
{JSON.stringify(leg)}
{/each}