added JSON environment config file support, resolves #83