prepare for JVM uwsgi.rpc() api function