Normalize display page information
input:
{
'<pagePath>': pageInfo
}
output:
{
'<pageName>': pageInfo
}

@inner
@param {Object} pages the display pages information to normalize
@return {Object}
function normalizeDisplayPages(pages) {
    if (!pages) {
        return;
    }

    let result = {};
    Object.keys(pages).forEach(k => {
        let item = pages[k];
        let {pageName} = getPageInfo(k);
        result[pageName] = item;
    });

    return result;
}