Added environment to JSON sample.