Ramda js: lens for deeply nested objects with nested arrays of objects

Using Ramda.js (and lenses), I want to modify the JavaScript object below to change “NAME:VERSION1” to “NAME:VERSION2” for the object that has ID= “/1/B/i”. I want to use a lens because I want to just change one deeply nested value, but otherwise retain the entire structure unchanged. I don’t want to use lensIndex because I never know what order the arrays will be in, so instead, I want to “find” the object in an array by looking for its “id” fields. Can I do this with lenses, or should I do it a different way? Answer This should be possible