get class name from prototype when serialization, to prevent the constructor from being renamed by uglify