Rewrite for new blocks API - make TextInput, Chooser and StructBlock work
StructBlock nesting works too