Consider python-orjson for RPC endpoint
python-orjson is a lot faster then the build in json library and could in theory speed up the RPC endpoint when dumping large json results.
It is supported by fastapi as json response.
Edited by Jelle van der Waa