[#1795] fix dataset_type passing in resource templates
[#1795] use dataset_type parm name in new plugin interface