Better handle required field of required or non-required object