Major refactor to remove lodash dependency
Bump to v1.2.2