Report object allocations within bench
Remove as_json method entirely

Benchmarks show that there is no actual benefit in using `as_json`, as
the process of marshalling and unmarshalling is effectively equivalent
to not caching at all. The true intent of the library is to cache
stringified objects after all.