Fix ResultConfidence to be an integer in JSON, rather than the string "one", "two"...