refactor obi to remove lodash

@seanstrom check it.