Add generation of environment.json
Merge pull request #293 from baev/master

Add generation of environment.json