add compatibility for github.com/cinemast/libjson-rpc-cpp