You are looking at the HTML representation of the TXT format.
HTML is good for debugging, but probably is not suitable for your application.
See 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
                            [*] => Speciaal
                            [canonical] => Special
                        )

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

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

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

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

                    [4] => Array
                        (
                            [id] => 4
                            [case] => first-letter
                            [*] => NORA Online
                            [canonical] => Project
                        )

                    [5] => Array
                        (
                            [id] => 5
                            [case] => first-letter
                            [*] => Overleg NORA Online
                            [subpages] => 
                            [canonical] => Project talk
                        )

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

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

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

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

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

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

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

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

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

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

                    [102] => Array
                        (
                            [id] => 102
                            [case] => first-letter
                            [*] => Eigenschap
                            [canonical] => Eigenschap
                        )

                    [103] => Array
                        (
                            [id] => 103
                            [case] => first-letter
                            [*] => Overleg eigenschap
                            [subpages] => 
                            [canonical] => Overleg eigenschap
                        )

                    [104] => Array
                        (
                            [id] => 104
                            [case] => first-letter
                            [*] => Type
                            [canonical] => Type
                        )

                    [105] => Array
                        (
                            [id] => 105
                            [case] => first-letter
                            [*] => Overleg type
                            [subpages] => 
                            [canonical] => Overleg type
                        )

                    [106] => Array
                        (
                            [id] => 106
                            [case] => first-letter
                            [*] => Formulier
                            [canonical] => Form
                        )

                    [107] => Array
                        (
                            [id] => 107
                            [case] => first-letter
                            [*] => Overleg formulier
                            [subpages] => 
                            [canonical] => Form talk
                        )

                    [108] => Array
                        (
                            [id] => 108
                            [case] => first-letter
                            [*] => Concept
                            [canonical] => Concept
                        )

                    [109] => Array
                        (
                            [id] => 109
                            [case] => first-letter
                            [*] => Overleg concept
                            [canonical] => Overleg concept
                        )

                    [170] => Array
                        (
                            [id] => 170
                            [case] => first-letter
                            [*] => Filter
                            [canonical] => Filter
                        )

                    [171] => Array
                        (
                            [id] => 171
                            [case] => first-letter
                            [*] => Overleg filter
                            [subpages] => 
                            [canonical] => Overleg filter
                        )

                    [274] => Array
                        (
                            [id] => 274
                            [case] => first-letter
                            [*] => Widget
                            [canonical] => Widget
                        )

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

                    [3040] => Array
                        (
                            [id] => 3040
                            [case] => first-letter
                            [*] => FS
                            [canonical] => FS
                            [content] => 
                        )

                    [3041] => Array
                        (
                            [id] => 3041
                            [case] => first-letter
                            [*] => FS talk
                            [canonical] => FS talk
                        )

                    [3050] => Array
                        (
                            [id] => 3050
                            [case] => first-letter
                            [*] => ISOR
                            [canonical] => ISOR
                            [content] => 
                        )

                    [3051] => Array
                        (
                            [id] => 3051
                            [case] => first-letter
                            [*] => ISOR talk
                            [canonical] => ISOR talk
                        )

                )

        )

)