Report Spark Core results as JSON:

After this patch, the "result: " line printed to the stdout logs will contain
a JSON object that captures information on the test configuration in addition
to the actual test results.  This makes it easier to process the test results
using tools like Pandas or Spark SQL.