Template inside template (nested)

Nested templates seems that are not working properly. The child templates are not created, for example:

$("#root", {
   ul : {
     template : {
        li : {
            span : "hello",
            ol : {
              template : {
                  li : {
                     hello : {
                        tagName : "a",
                        href: "#hello",
                        text : "hey!"
                     }
                  }  
              }
            }
        }
     }
   }
});

In the above case, if you add the item:

{
  span : "bad",
  ol : {
     items : [
        { hello : "not good" }
     ]
  }
}

it will complain that it doesn't know what to do with "hello" as it is failing to populate the child template before placing the data. The temporal solution is to specify the structure together with the data, so it creates the elements on the spot.