created the metaData functions. One takes a template parameter and the other takes a type name as a string