support hidden templates on import

this supports the hidden flag, by allowing people to specify true or false