getComponents method - returns parsed data from indexAction