refactor(util) findObjByNameInArr