const orig = { 'a': 1, 'b': 2, 'c': 3 }_x000D_
_x000D_
const result = _.transform(orig, (r, v, k) => r[k.trim()] = v * 2);_x000D_
_x000D_
console.log(result);
_x000D_
<script src="https://cdnjs.cloudflare.com/ajax/libs/lodash.js/4.17.4/lodash.min.js"></script>
_x000D_
Use new _.transform() to transforms object.