Add sub-method mapping to allow $json->foo->bar->baz() mapping to foo.bar.baz()

This gives us access to name spaces in JSON-RPC