Added fix for add_param when destination is std::string and default_value is char[]