util: trim down on use of lodash.