update the query page to work with 1.0.x

get mapping response have been changed from something like
{
    "index_name" : {
        "mapping_name": {
        [...]
        }
    }
}
to
{
    "index_name" : {
        "mappings : {
            "mapping_name": {
            [...]
            }
        }
    }
}