```
overrides = {}
defaults.each do |dk, dv|
  override = v['user_entered'].nil? ? dv : v['user_entered']
  unless override.nil?
    overrides[dk] = override
    current_entity[dk] = override
  end
end

store_values(v, current_entity, overrides)
```