This will send an array to an alert. Handy for a quick debug: –

 alert(JSON.stringify(dict));