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] => case-sensitive
                            [*] => メディア
                            [canonical] => Media
                        )

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

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

                    [1] => Array
                        (
                            [id] => 1
                            [case] => case-sensitive
                            [*] => トーク
                            [subpages] => 
                            [canonical] => Talk
                        )

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

                    [3] => Array
                        (
                            [id] => 3
                            [case] => first-letter
                            [*] => 利用者・トーク
                            [subpages] => 
                            [canonical] => User talk
                        )

                    [4] => Array
                        (
                            [id] => 4
                            [case] => case-sensitive
                            [*] => JUDSTYLE Wiki
                            [canonical] => Project
                        )

                    [5] => Array
                        (
                            [id] => 5
                            [case] => case-sensitive
                            [*] => JUDSTYLE Wiki・トーク
                            [subpages] => 
                            [canonical] => Project talk
                        )

                    [6] => Array
                        (
                            [id] => 6
                            [case] => case-sensitive
                            [*] => ファイル
                            [canonical] => File
                        )

                    [7] => Array
                        (
                            [id] => 7
                            [case] => case-sensitive
                            [*] => ファイル・トーク
                            [subpages] => 
                            [canonical] => File talk
                        )

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

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

                    [10] => Array
                        (
                            [id] => 10
                            [case] => case-sensitive
                            [*] => テンプレート
                            [canonical] => Template
                        )

                    [11] => Array
                        (
                            [id] => 11
                            [case] => case-sensitive
                            [*] => テンプレート・トーク
                            [subpages] => 
                            [canonical] => Template talk
                        )

                    [12] => Array
                        (
                            [id] => 12
                            [case] => case-sensitive
                            [*] => ヘルプ
                            [canonical] => Help
                        )

                    [13] => Array
                        (
                            [id] => 13
                            [case] => case-sensitive
                            [*] => ヘルプ・トーク
                            [subpages] => 
                            [canonical] => Help talk
                        )

                    [14] => Array
                        (
                            [id] => 14
                            [case] => case-sensitive
                            [*] => カテゴリ
                            [canonical] => Category
                        )

                    [15] => Array
                        (
                            [id] => 15
                            [case] => case-sensitive
                            [*] => カテゴリ・トーク
                            [subpages] => 
                            [canonical] => Category talk
                        )

                )

        )

)