Merging different lines in an array suitable for google charts APIS