Re: the "Invalid CFML construct". It's worth noting, this:
http({method:"get", url:"http://google.com" });
should have been this:
http(method:"get", url:"http://google.com");
or this
http(argumentCollection={method="get", url="http://google.com"});
You can define structures using {key:"value"}, {key="value"} and {"key"="value"}.
(If you wrap the key in quotes, it will be case sensitive when dumped or serialized)
You can call methods using function("value"), function(key:"value"), function(key="value") and function(key1={key2="value2"})
If you want to nest structures you must use the {key="value"} or {"key"="value"} style.
eg. {"key1"={key2="value2"}}
You can even mix arrays and structs. {key1={"key2"=["a","b","c"]}}
Ben Nadel's blog post sums it up.
http://www.bennadel.com/blog/1993-Using-Dynamic-Keys-In-ColdFusion-9-s-Implicit-Struct-Creation.htm