changed playerComparison to output json