Use String() instead of custom string function

Simplifies the bandit interface and makes it easier to introspect.