be wary of nulls in json_extract

This can happen because the value is null, or is malformed, or doesn't
contain the specified property. We'll treat these all as not matching,
so that these broken values show up as 'Other', and the totals work
out right.
Merge branch '64-reports-should-add-up' into devel