Added a JSON sample code