Add remaining olive oil to skillet. Add chard (or spinach) and cook, stirring, until starting to wilt, 1 to 2 minutes (if using frozen greens cook until warmed through). Stir in garlic, herbs, tomato powder, and canned tomatoes. Add beans and bring to a simmer. Stir in the gnocchi and sprinkle with mozzarella and Parmesan.