add parser validation for template inst bindings
use an unpack map for binding template instances