Comment
Comment by petercooper
Not anywhere near as sophisticated as yours but I have something vaguely similar for simplifying JSON documents (while maintaining what the data also looks like) for feeding to LLMs to help them code against:
So that 70,000+ line Amazon example of yours would boil down to:
.. which is easier/cheaper to feed to an LLM for getting it to write code to process, etc. than the multi-megabyte original.