You are looking at the HTML representation of the TXT format.
HTML is good for debugging, but is unsuitable for application use.
Specify the format parameter to change the output format.
To see the non HTML representation of the TXT format, set format=txt.
See the complete documentation, or API help for more information.
Array
(
    [query] => Array
        (
            [namespaces] => Array
                (
                    [-2] => Array
                        (
                            [id] => -2
                            [case] => first-letter
                            [*] => Media
                            [canonical] => Media
                        )

                    [-1] => Array
                        (
                            [id] => -1
                            [case] => first-letter
                            [*] => Special
                            [canonical] => Special
                        )

                    [0] => Array
                        (
                            [id] => 0
                            [case] => first-letter
                            [*] => 
                            [content] => 
                        )

                    [1] => Array
                        (
                            [id] => 1
                            [case] => first-letter
                            [*] => Talk
                            [subpages] => 
                            [canonical] => Talk
                        )

                    [2] => Array
                        (
                            [id] => 2
                            [case] => first-letter
                            [*] => User
                            [subpages] => 
                            [canonical] => User
                        )

                    [3] => Array
                        (
                            [id] => 3
                            [case] => first-letter
                            [*] => User talk
                            [subpages] => 
                            [canonical] => User talk
                        )

                    [4] => Array
                        (
                            [id] => 4
                            [case] => first-letter
                            [*] => Global wiki. Wargaming.net
                            [subpages] => 
                            [canonical] => Project
                        )

                    [5] => Array
                        (
                            [id] => 5
                            [case] => first-letter
                            [*] => Global wiki. Wargaming.net talk
                            [subpages] => 
                            [canonical] => Project talk
                        )

                    [6] => Array
                        (
                            [id] => 6
                            [case] => first-letter
                            [*] => File
                            [canonical] => File
                        )

                    [7] => Array
                        (
                            [id] => 7
                            [case] => first-letter
                            [*] => File talk
                            [subpages] => 
                            [canonical] => File talk
                        )

                    [8] => Array
                        (
                            [id] => 8
                            [case] => first-letter
                            [*] => MediaWiki
                            [subpages] => 
                            [canonical] => MediaWiki
                        )

                    [9] => Array
                        (
                            [id] => 9
                            [case] => first-letter
                            [*] => MediaWiki talk
                            [subpages] => 
                            [canonical] => MediaWiki talk
                        )

                    [10] => Array
                        (
                            [id] => 10
                            [case] => first-letter
                            [*] => Template
                            [canonical] => Template
                        )

                    [11] => Array
                        (
                            [id] => 11
                            [case] => first-letter
                            [*] => Template talk
                            [subpages] => 
                            [canonical] => Template talk
                        )

                    [12] => Array
                        (
                            [id] => 12
                            [case] => first-letter
                            [*] => Help
                            [subpages] => 
                            [canonical] => Help
                        )

                    [13] => Array
                        (
                            [id] => 13
                            [case] => first-letter
                            [*] => Help talk
                            [subpages] => 
                            [canonical] => Help talk
                        )

                    [14] => Array
                        (
                            [id] => 14
                            [case] => first-letter
                            [*] => Category
                            [canonical] => Category
                        )

                    [15] => Array
                        (
                            [id] => 15
                            [case] => first-letter
                            [*] => Category talk
                            [subpages] => 
                            [canonical] => Category talk
                        )

                    [10000] => Array
                        (
                            [id] => 10000
                            [case] => first-letter
                            [*] => Tank
                            [canonical] => Tank
                            [content] => 
                        )

                    [10001] => Array
                        (
                            [id] => 10001
                            [case] => first-letter
                            [*] => Tank talk
                            [canonical] => Tank talk
                        )

                    [10002] => Array
                        (
                            [id] => 10002
                            [case] => first-letter
                            [*] => Plane
                            [canonical] => Plane
                            [content] => 
                        )

                    [10003] => Array
                        (
                            [id] => 10003
                            [case] => first-letter
                            [*] => Plane talk
                            [canonical] => Plane talk
                        )

                    [10004] => Array
                        (
                            [id] => 10004
                            [case] => first-letter
                            [*] => Ship
                            [canonical] => Ship
                            [content] => 
                        )

                    [10005] => Array
                        (
                            [id] => 10005
                            [case] => first-letter
                            [*] => Ship talk
                            [canonical] => Ship talk
                        )

                    [10006] => Array
                        (
                            [id] => 10006
                            [case] => first-letter
                            [*] => Card
                            [canonical] => Card
                            [content] => 
                        )

                    [10007] => Array
                        (
                            [id] => 10007
                            [case] => first-letter
                            [*] => Card talk
                            [canonical] => Card talk
                        )

                    [10008] => Array
                        (
                            [id] => 10008
                            [case] => first-letter
                            [*] => Navy
                            [canonical] => Navy
                            [content] => 
                        )

                    [10009] => Array
                        (
                            [id] => 10009
                            [case] => first-letter
                            [*] => Navy talk
                            [canonical] => Navy talk
                        )

                    [10010] => Array
                        (
                            [id] => 10010
                            [case] => first-letter
                            [*] => Blitz
                            [canonical] => Blitz
                            [content] => 
                        )

                    [10011] => Array
                        (
                            [id] => 10011
                            [case] => first-letter
                            [*] => Blitz talk
                            [canonical] => Blitz talk
                        )

                    [10012] => Array
                        (
                            [id] => 10012
                            [case] => first-letter
                            [*] => XBOX
                            [canonical] => XBOX
                            [content] => 
                        )

                    [10013] => Array
                        (
                            [id] => 10013
                            [case] => first-letter
                            [*] => XBOX talk
                            [canonical] => XBOX talk
                        )

                    [10014] => Array
                        (
                            [id] => 10014
                            [case] => first-letter
                            [*] => TWA
                            [canonical] => TWA
                            [content] => 
                        )

                    [10015] => Array
                        (
                            [id] => 10015
                            [case] => first-letter
                            [*] => TWA talk
                            [canonical] => TWA talk
                        )

                    [10016] => Array
                        (
                            [id] => 10016
                            [case] => first-letter
                            [*] => Antiquity
                            [canonical] => Antiquity
                            [content] => 
                        )

                    [10017] => Array
                        (
                            [id] => 10017
                            [case] => first-letter
                            [*] => Antiquity talk
                            [canonical] => Antiquity talk
                        )

                    [10018] => Array
                        (
                            [id] => 10018
                            [case] => first-letter
                            [*] => Caliber
                            [canonical] => Caliber
                            [content] => 
                        )

                    [10019] => Array
                        (
                            [id] => 10019
                            [case] => first-letter
                            [*] => Caliber talk
                            [canonical] => Caliber talk
                        )

                    [10020] => Array
                        (
                            [id] => 10020
                            [case] => first-letter
                            [*] => SpecOps
                            [canonical] => SpecOps
                            [content] => 
                        )

                    [10021] => Array
                        (
                            [id] => 10021
                            [case] => first-letter
                            [*] => SpecOps talk
                            [canonical] => SpecOps talk
                        )

                )

        )

)