Grating the onion adds a really amazing flavor and moisture to your meatballs. Because it is grated, and not chopped, you aren't suffering through chunks of onion in every bite. It's a great trick for homemade meatballs!