Sorry, I was talking about all the `isDictionary` checks. I think that's a code smell. I think you should have a method for dicts and a method for arrays instead of one method that does both but checks which data source it's operating on before every time it does something.