I agree with you, it’s much better if server handles it and returns null instead of “null”, or doesn’t return null field at all. Unfortunately, sometimes you get server as-is and can’t change it. For situations like this, you can check “null”.
I had a project with “null” problem, and server developer just sent me screenshot from Postman, saying “See? It’s null” :)