Abstract pairs converter