One way to deal with this is to have a custom insert script on your Items table so that it parses an array and inserts each item of the array into a Toppings table (including item id, if you need that). For example:
function insert(item, user, request) {
var toppings = item.Toppings;
item.Toppings = null;
request.execute({ success: function() {
var toppingsTable = tables.getTable('Toppings');
var count = 0;
toppings.forEach(function(topping, index) {
topping.itemId = item.id;
toppingsTable.insert(topping, {
success: function() {
count++;
if (toppings.length === count) {
request.respond();
}
},
error: function(err) {
console.warn('Error while inserting toppings objects', err);
count++;
if (toppings.length === count) {
request.respond();
}
});
}});
}