JSFiddle - React, Tailwind, and code Playground

HTML

<script src="http://cmcrm.chocolata.be/js/vendor/jquery.json-2.4.min.js"></script>

JavaScript

$(function() {
    var to = 'bigbadwolf@grannysplace.com,hungry@hippos.com,youtalkin@to.me';
    var pieces = to.split(',');
    
    var JSON = {};
    $(pieces).each(function(index) {
        JSON['email'] = pieces[index];   
    });
    console.log(JSON);
});