More qork towards getting the first container tests to pass.

Major blocker right now is good query building support for JSONB, in
particular the simple equality check: '{"key": JSON_VALUE}' since all
the quoting has to be that exact way.