[javascript] Loop through properties in JavaScript object with Lodash