fixes #2209 - explicitly use Proxy::Puppet::Environment#name for to_json