f91edc0 beaker: fix results-json test

Authored and Committed by praiskup 2 years ago
    beaker: fix results-json test
    
    Sort the results.json file (by default unsorted) and then compare the
    contents correctly.  Re-tab while I'm on it to avoid mixed spaces/tabs,
    and fix some shell constructs like double-quoting and use of $().
    
    Fixes: #1846