data = [
{ 'block': 'comments intro', 'class':'comment', 'text': 'Do you like a coffee?' },
{ 'block': 'choices intro', 'class':'choice askcoffee', 'text': 'Yes', 'to': 'yescoffee' },
{ 'block': 'choices intro', 'class':'choice askcoffee', 'text': 'No', 'to': 'nocoffee' },
{ 'block': 'comments yescoffee', 'class':'comment', 'text': "Coffee is great" },
{ 'block': 'comments yescoffee', 'class':'comment', 'text': "What kind of coffee do you like?" },
{ 'block': 'choices yescoffee', 'class':'choice coffeetype', 'text': 'Americano', 'to': 'toamericano' },
{ 'block': 'choices yescoffee', 'class':'choice coffeetype', 'text': 'Latte', 'to': 'tolatte' },
{ 'block': 'comments toamericano ', 'class':'comment', 'text': 'I love Americano!' },
{ 'block': 'comments tolatte', 'class':'comment', 'text': 'I like it too!' },
{ 'block': 'comments nocoffee', 'class':'comment', 'text': "What else do you like?" },
{ 'block': 'choices nocoffee', 'class':'choice othertype', 'text': "Water", 'to': 'towater' },
{ 'block': 'choices nocoffee', 'class':'choice othertype', 'text': "Tea", 'to': 'totea' },
{ 'block': 'comments towater totea', 'class':'comment', 'text': 'Sounds good!' }
]