Mimic: fix everything around me

* Define JSON::State as empty class to be compatible with ActiveSupport
* Move Object#to_json definition to a non-verbose block
* Fix test_object failing test

Dolla-dolla bill y'all