Improve return statements in xbmc json api for retroplayer