Added JSON APIs to put results.