Add test for support both brace styles in array keys