nested_obj can be nil