W2F-HAVE-SOURCE (value 1) is set when the source is queryable.
W2F-HAVE-JSON (value 2) is set when the JSON string is queryable.
W2F-HAVE-STRING (value 4) is set when the string is queryable.
A value of 7 means you can query any of them, and a value of 5 means, for example, that you can query the source and the string.