I believe you can simplify these two `map`s into one `map('reponseData.treeId')`.  `BU.getValueForKey` is only really needed when a key has periods in it.