Update deep-model.js

Updated deep-model to use lodash methods.