fix compilation issue with JSONRPCExporter