How do you feel about going back to this for toPairs? It seems like lodash is a big dependency that can be avoided by using what you had before. Even moving to the lodash.topairs package is bigger than what you had prior. Is there any reason not to go back to the way it was before?