Updated XBMC library update method to be JSON compatible