A study of contagion in the financial system from the perspective of network analytics