Fixed issue with nestedTemplateFormatter

fixed nestedTemplateFormatter to work with a just a string as the
template selector for the options, rather than requiring a JSON object