convert match result to json