Gave up on posting json to XBMC frontend. No jsonp support in XBMC.