Would using $dragon.require with a pure Ruby implementation of a JSON parser work?
Probably, but I haven't tried this specific piece of code to confirm.