Powershell System Object To String Python Replace Characters In A List