At 2:00 AM last night, I realized that I need to rewrite this template framework from the ground up. It needs to be like the JSON parser. I tried to do something quick and dirty with a lack of understanding on how handlebars works. It was when I tried to write a test for a nest each that I realized that I would need to rewrite the mustache parser from scratch. Handlebars is not line oriented like I thought. It is more like the JSON parser than I realized.