Fixed JSON object creation for test result log to file