Has anyone tried making json-rpc calls using Mojo? Or are REST based get / post all that is supported?

Also, is it possible to integrate an external jsjsjs $library$ $like$ $Dojo$ $to$ $be$ $called$ $within$ $Mojo$ $js$ $files$?