Allow for nested object fields that cannot be None

Used in a follow up patch to fix a bug.

Change-Id: Ib1e44232643ad57e1bd21fb3bdbe7c4d1e0307f2
Merge "Allow for nested object fields that cannot be None"