There's a lot that goes into making sure restaurants in Boston are serving up good food with a healthy helping of safety.