Remove obsoleted nil checks.

Due to the json validation we can remove previously required nil checks.

This test should be added back as well.