Extract out JsonEnvironment.
Simplify JsonEnvironment.
Move name out of Bootstrap.

Now it's in Service#getName(), which you can override.