Add permalink key to blag json.