Define String#as_json.

Seriously, this is what this commit does.
I know, this kind of side effects is insane...