You are looking at the HTML representation of the JSON 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 JSON format, set format=json.
See the complete documentation, or API help for more information.
{
    "query": {
        "namespaces": {
            "-2": {
                "id": -2,
                "case": "first-letter",
                "*": "Multim\u00e9dia",
                "canonical": "Media"
            },
            "-1": {
                "id": -1,
                "case": "first-letter",
                "*": "Especial",
                "canonical": "Special"
            },
            "0": {
                "id": 0,
                "case": "first-letter",
                "*": "",
                "content": ""
            },
            "1": {
                "id": 1,
                "case": "first-letter",
                "*": "Discuss\u00e3o",
                "subpages": "",
                "canonical": "Talk"
            },
            "2": {
                "id": 2,
                "case": "first-letter",
                "*": "Utilizador",
                "subpages": "",
                "canonical": "User"
            },
            "3": {
                "id": 3,
                "case": "first-letter",
                "*": "Utilizador Discuss\u00e3o",
                "subpages": "",
                "canonical": "User talk"
            },
            "4": {
                "id": 4,
                "case": "first-letter",
                "*": "Thinkfn",
                "subpages": "",
                "canonical": "Project"
            },
            "5": {
                "id": 5,
                "case": "first-letter",
                "*": "Thinkfn Discuss\u00e3o",
                "subpages": "",
                "canonical": "Project talk"
            },
            "6": {
                "id": 6,
                "case": "first-letter",
                "*": "Ficheiro",
                "canonical": "File"
            },
            "7": {
                "id": 7,
                "case": "first-letter",
                "*": "Ficheiro Discuss\u00e3o",
                "subpages": "",
                "canonical": "File talk"
            },
            "8": {
                "id": 8,
                "case": "first-letter",
                "*": "MediaWiki",
                "subpages": "",
                "canonical": "MediaWiki"
            },
            "9": {
                "id": 9,
                "case": "first-letter",
                "*": "MediaWiki Discuss\u00e3o",
                "subpages": "",
                "canonical": "MediaWiki talk"
            },
            "10": {
                "id": 10,
                "case": "first-letter",
                "*": "Predefini\u00e7\u00e3o",
                "subpages": "",
                "canonical": "Template"
            },
            "11": {
                "id": 11,
                "case": "first-letter",
                "*": "Predefini\u00e7\u00e3o Discuss\u00e3o",
                "subpages": "",
                "canonical": "Template talk"
            },
            "12": {
                "id": 12,
                "case": "first-letter",
                "*": "Ajuda",
                "subpages": "",
                "canonical": "Help"
            },
            "13": {
                "id": 13,
                "case": "first-letter",
                "*": "Ajuda Discuss\u00e3o",
                "subpages": "",
                "canonical": "Help talk"
            },
            "14": {
                "id": 14,
                "case": "first-letter",
                "*": "Categoria",
                "canonical": "Category"
            },
            "15": {
                "id": 15,
                "case": "first-letter",
                "*": "Categoria Discuss\u00e3o",
                "subpages": "",
                "canonical": "Category talk"
            }
        }
    }
}