updates to protect against reference copy durring _.defaults call of deep objects