added index on links and links serialised structure to person