Split String Javascript Array Of Objects