the lodash _.values gives me the data in the format i need, however it adds those extra square brackets and quotes around the string which causes my subsequent filter step on "update record" fail since i cant find the matching row to update. any thoughts on how i can remove these unwanted chars so it returns just GOOG so i can use it to filter and update my database row ?
The Lodash method
_.values returns an array of all the values in an object. If you just have the one value (e.g. “GOOG”) at a time, you should be able to do something like adding a
 at the very end of your
_.values line (line 1.5) to grab the string “GOOG” out from the array.
Would that work for you?