fixed bug in template json
implemented radio choosers for template levels