I was not aware you shouldn’t do that — what’s the rationale/historical context?
You only have to look at how different services handle arrays in query strings to understand that serialising it is conceptually easier.
Comes up a lot in search or filter APIs. I'm sure there was some effort many moons ago to create a QUERY method for that.