added missing json-rpc version capability to stubgenerator + extended
examples.