use Marshal for rpc arguments serialization

also:
  * reg_to can now be used as rpc service name
  * preparing for python-only rpc, register with string name