bugfix: replace usage clone and extend function with lodash and nodejs versions