Refining leading, trailing ' trimming, changed keypair to tuple
simplified .Select().ToDictionary() to eliminate uneccesary .Select()