This should really be:

{ "unique": false, "count": -1, "admin":false, "attribute" { name : "cpu/0/flags", "include" : "smx" }}

Otherwise, you can't know that include is related to attribute.