fix issues with linkedin api response parsing