Php Loop Through Json Object Javascript