Powershell System Object Array To String Python Replace All Occurrences