When I was working on updating my datapacks into 1.20.6.
I noticed there was a issue with loot tables with "components" field.
When I tried debugging I took each "field out" for example, "minecraft:damage", "minecraft:custom_name", etc, and left 1 field in and kept saying there was an "Array" error.
When I removed everything and left it emptied, for example, "components": {}" it was perfectly fine there was no, errors from game output. I left screenshots below and files to provide examples of what was happening. I'm confident it's either a bug or an error.
I've resolved issue, I apologize for making this thread.