std::string "typename" is now "text"
Added DECLARE_TYPE_NAME_AS rather than specialising template