REST: Don't wrap isolate data in arrayref.
REST: Export boolean true/false using JSON::true and JSON::false.
REST: Refactor basic sanity checks.