created the backend necessary to construct the full contact details array for a given pipeline