lgtm. I couldn't find other tests for json root inclusion logic -- probably worth testing other conditions too, as there are quite a few of them.