Add generation of environment.json