I think each_with_object({}) do is more readable here without the tap.