Javascript Loop Through Object Array Php To Json