Less fragile JSON checking
Less fragile JSON checking

If checking the JSON, take actual results data structure, convert
it to JSON and back, and compare the result to the parsed version
of the saved expected output.

This fixes failures due to differences in JSON formatting.

outcomesinsights/conceptql,outcomesinsights/conceptql