Compatibility mode for JSON-dumped hashes