"before" file "$TEMPDIR/output.json" has 2 entries but expected 1