modifications to liquid template parsing for performance enhancements