added lodash for object mapping