Fix rpc methods by adding bodyParser to middlewares