There is also Utils._.merge that could be used here and make it more flexible, but it could be more risky as well.