def _page_obj(json_object):
    """takes json input and returns a page object

    Args:
        json_object (dict): json data from api

    Returns:
        dict: json object for the 'pages' of an article
    """
    query_object = json_object['query']
    return(query_object['pages'])