Generic rpc test implementation for future implementation of json based servers