Remove obsoleted nil checks.

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