internal static CommandProxy Deserialize(string obj)
        {
            var output     = new CommandProxy();
            var serializer = new DataContractJsonSerializer(typeof(List <AuthenticationContextCommand>));

            byte[] serializedObjectBytes = Encoding.UTF8.GetBytes(obj);
            using (var stream = new MemoryStream(serializedObjectBytes))
            {
                output.Commands = (List <AuthenticationContextCommand>)serializer.ReadObject(stream);
            }

            return(output);
        }
        internal static CommandProxy Deserialize(string obj)
        {
            var output = new CommandProxy();
            var serializer = new DataContractJsonSerializer(typeof(List<AuthenticationContextCommand>));
            byte[] serializedObjectBytes = Encoding.UTF8.GetBytes(obj);
            using (var stream = new MemoryStream(serializedObjectBytes))
            {
                output.Commands = (List<AuthenticationContextCommand>)serializer.ReadObject(stream);
            }

            return output;
        }