Implementation of XBMC API JSON-RPC