only use a default_value when object or value is nil