Use lodash for object manipulation