Despite legacy, let's try to have new code be explicit about imports with `use JSON ();` and then `JSON::to_json()`.