Make _.safe lodash compatible