fix tests to reflect changes in the JSON formatted output