[frontend] Create line items where necessary in specs