Unable to use variables substitution within an array

Another rant…

Just discovered that when trying to use a variable within an array with keys, it does a comparison instead.

example: :global “newAddressListArray” {$localserver=“OnPremiseServer”}
or
example: :global “newAddressListArray” {“$localserver”=“OnPremiseServer”}

comes back “false” instead of inserting the value of $localserver into the array.