Defect synchronized sections disappeared when moving to json rather than
jaavobject serialisation for distributedQuery results, now put back
Fix up arrays of objects in json