updating exported function to allow passed options for the through.obj call