Traffic Manager fix weight

We changed the way WATM frontend responds to some requests and have just found a bug in the powershell cmdlets.

I know this is very late but without these changes our cmdlets won’t be working properly (adding endpoints).