issue #3626:Add the key-value pair of  g_typeCast when register to support old cast mechanism