convert env_vars to hash