refine object, move all type name to const char* instead of String