For example, {"and":{"type":"Basic", "match":"$keyword"}} fails to match the given keyword, returning instead all basic cards.  Replacing the keyword manually in the WQL search works as intended.