Replace the unneeded url property with links array