Stripping nulls is a change of meaning, not a cleanup
This is the one thing to understand before using this tool. In JSON, an explicit `null` and an absent key are different states, and well-designed APIs rely on the difference. `{"nickname": null}` says the nickname is known to be empty. `{}` says nothing about the nickname at all. Removing the null converts the first statement into the second, which is a semantic edit rather than a formatting tidy-up.
The clearest place this bites is a PATCH request. In JSON Merge Patch (RFC 7396), `null` is the instruction to delete a field, and omitting a field means leave it alone. Strip the nulls from a merge patch and every deletion silently becomes a no-op. The request still succeeds, and the fields you meant to clear stay exactly as they were.
So the question to ask is not whether nulls look untidy, but whether the consumer distinguishes null from absent. If it does, do not strip them. If it does not, stripping is safe and often useful.