Added JSON Response

Changed HTML response to JSON