You can simplify this without a separate lookup, simply by doing `"Environment" => environment.name`