Added environment to JSON sample.
Merge pull request #4 from rnhurt/master

Added environment to JSON sample.