The current implementation for RPC server / client allows only the json schema.
How about to add the possibility to use the XML-RPC schema and translate it to php objects?
So that the underlying application code does not need to know which schema is actual used for rpc requests.