upload the environments defined in json to the Chef Server