fixes #6003 - don't render object directly

```
undefined method `key?' for #<JSON::Ext::Generator::State:0x0000000e782a68>
```

Should use an existing rabl