Treatment: Added a rest service for retrieving pairs. This is retrieved on after adding treatment factors

Issue: GCP-9256
Reviewer: Daniel V.