[Console] Add ArgvInput::__toString and ArrayInput::__toString, fixes #7257