add support for not serializing certain templates in client bundle