There is the clothing item tank and also the furniture item tank, breaking the function to parse the list of item names to get its contents.
Adding an additonal api output, like e.g. unique IDs from the ACNH spreadsheet could solve this problem for non-variant items.
However, I currently have no idea how this issue could be solved.