True, False, and Nil should be represented in as_json as themselves.

@strzalek @ggilder this is currently a monkeypatch on rails3