[WIP] remove reliance on __toString()

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | no
| Fixed tickets | https://github.com/symfony-cmf/RoutingBundle/issues/163, https://github.com/sonata-project/SonataBlockBundle/issues/90
| License       | MIT

requires https://github.com/sonata-project/SonataBlockBundle/pull/91 to have a tagged version