var nodes = {}; // JSON string, could get this from anywhere nodes.ingredients = '[\ ]';