custom method to .rpc as object and custom method on collection support

- all custom methods as object {method:'nameOfRPCMethod',values:{values as object}}