Provide a mixin to override AR::Base#to_json

Fixes #192.